def _county_meta(self, year, elections):
        payload = []
        general, primary, special = self._races_by_type(elections)

        for jurisdiction in self._jurisdictions():

            meta = {
                'ocd_id': jurisdiction['ocd_id'],
                'name': jurisdiction['name'],
            }

            county = jurisdiction['url_name']

            # GENERALS
            # Create countywide and precinct-level metadata for general
            for precinct_val in (True, False):
                general_url = self._build_county_url(year, county, precinct=precinct_val)
                general_filename = self._generate_county_filename(general_url, general['start_date'], jurisdiction)
                gen_meta = meta.copy()
                gen_meta.update({
                    'raw_url': general_url,
                    'generated_filename': general_filename,
                    'election': general['slug']
                })
                payload.append(gen_meta)

            # PRIMARIES
            # For each primary and party and party combo, generate countywide and precinct metadata
            # Primary results not available in 2000
            if primary and 2000 > int(year):
                for party in ['Democratic', 'Republican']:
                    for precinct_val in (True, False):
                        pri_meta = meta.copy()
                        primary_url = self._build_county_url(year, county, party, precinct_val)
                        primary_filename = self._generate_county_filename(primary_url, primary['start_date'], jurisdiction)
                        # Add Primary metadata to payload
                        pri_meta.update({
                            'raw_url': primary_url,
                            'generated_filename': primary_filename,
                            'election': primary['slug']
                        })
                        payload.append(pri_meta)

        return payload
dataset/ETHPy150Open openelections/openelections-core/openelex/us/md/datasource.py/Datasource._county_meta/swapped operands of `>`