-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
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]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels