def mappings(self, year=None):
        mappings = []
        for yr, elecs in self.elections(year).items():
            mappings.extend(self._build_metadata(yr, elecs))
        return mappings
Used in the parsing of files. Transforms a regex match to a Drawable object.
dataset/ETHPy150Open openelections/openelections-core/openelex/us/sc/datasource.py/Datasource.mappings--crossover with--dataset/ETHPy150Open Alexis-benoist/eralchemy/eralchemy/models.py/Drawable.make_from_match