@classmethod
    def _filename_year(cls, filename):
        return filename[0:4]
Extract the year of the election from a standardized filename
dataset/ETHPy150Open openelections/openelections-core/openelex/base/datasource.py/BaseDatasource._filename_year