Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dwillis opened this issue Jan 12, 2022 · 0 comments

Comments

@dwillis
Copy link
Contributor

dwillis commented Jan 12, 2022

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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant