def METHOD_NAME(self):
    db = {}
    for key in self.metadata["db"]:
        db[key] = []
        for year in self.metadata["db"][key]:
            if not (self.root / key / f"{year}.json").exists():
                db[key].append(year)
    self.metadata["db"] = db