Skip to content

Move Registered Voters and Ballots Cast into office column in Wayne County 2020 general #102

@dwillis

Description

@dwillis

Here's the issue: the Wayne County 2020 general precinct file has rows with Registered Voters and Ballots Cast labels in the wrong column. They currently are in the candidate column and should be in the office column.

How to fix it: download the Wayne 2020 general file and make the changes in a spreadsheet or Google Sheet, then save it and email it to or share it with openelections@gmail.com.

If you know GitHub and have an account, you can fork this repository, fix the Wayne 2020 general file and commit/push the changes, and then open a pull request.

FAIL: test_missing_values (data_tests.test_data.MissingValuesTest) [2020/counties/20201103__pa__general__wayne__precinct.csv] (group='2020')
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/runner/work/openelections-data-pa/openelections-data-pa/data_tests/data_tests/test_data.py", line 137, in test_missing_values
      self._assertTrue(passed, f"{self} [{short_path}]", short_message, full_message)
    File "/home/runner/work/openelections-data-pa/openelections-data-pa/data_tests/data_tests/test_data.py", line 59, in _assertTrue
      self.assertTrue(result, short_message)
  AssertionError: False is not true : 
  
  * There are 70 rows that are missing a office:
  
  	Headers: ['candidate', 'office', 'district', 'party', 'county', 'precinct', 'votes', 'election_day', 'mail', 'provisional']:
  	Row 2: ['Registered Voters', '', '', '', 'Wayne', 'Berlin Township #1', '940', '', '', '']
  	Row 3: ['Ballots Cast', '', '', '', 'Wayne', 'Berlin Township #1', '743', '', '', '']
  	Row 41: ['Registered Voters', '', '', '', 'Wayne', 'Berlin Township #2', '905', '', '', '']
  	Row 42: ['Ballots Cast', '', '', '', 'Wayne', 'Berlin Township #2', '780', '', '', '']
  	Row 80: ['Registered Voters', '', '', '', 'Wayne', 'Bethany Borough', '206', '', '', '']
  	Row 81: ['Ballots Cast', '', '', '', 'Wayne', 'Bethany Borough', '171', '', '', '']
  	Row 118: ['Registered Voters', '', '', '', 'Wayne', 'Buckingham Township', '378', '', '', '']
  	Row 119: ['Ballots Cast', '', '', '', 'Wayne', 'Buckingham Township', '307', '', '', '']
  	Row 156: ['Registered Voters', '', '', '', 'Wayne', 'Canaan Township', '649', '', '', '']
  	Row 157: ['Ballots Cast', '', '', '', 'Wayne', 'Canaan Township', '533', '', '', '']
  	[Truncated to 10 examples]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions