def _prep_county_results(self, row):
        """
        In Washington our general results are reported by county instead
        of precinct, although precinct-level vote tallies are available.

        """

        kwargs = self._base_kwargs(row)
        county = str(row['jurisdiction'])
        kwargs.update({
            'reporting_level': row['reporting_level'],
            'jurisdiction': county,
            'party': row['partycode'].strip(),
            'votes': int(row['votes'].strip()),
            'ocd_id': "{}".format(self._get_ocd_id(county))
        })
        try:
            kwargs.update({
                'district': normalize_district(self.header, row[self.contest_index], row)
            })
        except __HOLE__:
            pass
        return RawResult(**kwargs)
dataset/ETHPy150Open openelections/openelections-core/openelex/us/wa/load.py/WALoaderPre2007._prep_county_results