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

Add St. Joseph Data and fix issue with Kosciusko Data #84

Closed
wants to merge 3 commits into from

Conversation

ryanjohnsonwi
Copy link
Contributor

We extracted the St. Joseph data. Also, we noticed that we had failed to split the district numbers for state senators for Kosciusko, so we fixed this.

I realized that I did not extract the district numbers of state senators, but now this is fixed.
We were able to extract the St. Joseph data.  The text was in all-caps, and we changed office and candidate to title-case.
Copy link

github-actions bot commented Feb 4, 2025

Thank you for your contribution! Our file_format test detected some potential issues in the files you added.

======================================================================
FAIL: test_format (data_tests.test_data.FileFormatTests.test_format) [2024/counties/20241105__in__general__st_joseph__precinct.csv]
----------------------------------------------------------------------
* There are 32 rows that have entries with newline characters:

	Row 7941: ['St. Joseph', 'OLIVE TWP 1', 'New Prairie United School Corporation,
District 1', '', 'NP', 'Richard Shail', '174']
	Row 7942: ['St. Joseph', 'OLIVE TWP 1', 'New Prairie United School Corporation,
District 3', '', 'NP', 'Phillip J. King', '103']
	Row 7943: ['St. Joseph', 'OLIVE TWP 1', 'New Prairie United School Corporation,
District 3', '', 'NP', 'Andrew Oake', '97']
	Row 7944: ['St. Joseph', 'OLIVE TWP 1', 'New Prairie United School Corporation, At
Large', '', 'NP', 'Jill Smith', '138']
	Row 7945: ['St. Joseph', 'OLIVE TWP 1', 'New Prairie United School Corporation, At
Large', '', 'NP', 'Mike Yacullo', '94']
	Row 8020: ['St. Joseph', 'OLIVE TWP 2', 'New Prairie United School Corporation,
District 1', '', 'NP', 'Richard Shail', '594']
	Row 8021: ['St. Joseph', 'OLIVE TWP 2', 'New Prairie United School Corporation,
District 3', '', 'NP', 'Phillip J. King', '391']
	Row 8022: ['St. Joseph', 'OLIVE TWP 2', 'New Prairie United School Corporation,
District 3', '', 'NP', 'Andrew Oake', '253']
	Row 8023: ['St. Joseph', 'OLIVE TWP 2', 'New Prairie United School Corporation, At
Large', '', 'NP', 'Jill Smith', '484']
	Row 8024: ['St. Joseph', 'OLIVE TWP 2', 'New Prairie United School Corporation, At
Large', '', 'NP', 'Mike Yacullo', '280']
	[Truncated to 10 examples]

Copy link

github-actions bot commented Feb 4, 2025

Thank you for your contribution! Our duplicate_entries test detected some potential issues in the files you added.

======================================================================
FAIL: test_duplicate_entries (data_tests.test_data.DuplicateEntriesTest.test_duplicate_entries) [2024/counties/20241105__in__general__st_joseph__precinct.csv]
----------------------------------------------------------------------
9970 duplicate entries detected:

	Headers: ['county', 'precinct', 'office', 'district', 'party', 'candidate', 'votes']:
	Row 4653: ['St. Joseph', 'MISHAWAKA 0', 'Ballots Cast', '', '', '', '425']
	Row 4732: ['St. Joseph', 'MISHAWAKA 0', 'Ballots Cast', '', '', '', '430']
	Row 4817: ['St. Joseph', 'MISHAWAKA 0', 'Ballots Cast', '', '', '', '148']
	Row 4898: ['St. Joseph', 'MISHAWAKA 0', 'Ballots Cast', '', '', '', '735']
	Row 4983: ['St. Joseph', 'MISHAWAKA 0', 'Ballots Cast', '', '', '', '450']
	Row 5061: ['St. Joseph', 'MISHAWAKA 0', 'Ballots Cast', '', '', '', '665']
	Row 5146: ['St. Joseph', 'MISHAWAKA 0', 'Ballots Cast', '', '', '', '162']
	Row 5226: ['St. Joseph', 'MISHAWAKA 0', 'Ballots Cast', '', '', '', '452']
	Row 5310: ['St. Joseph', 'MISHAWAKA 0', 'Ballots Cast', '', '', '', '919']
	Row 5394: ['St. Joseph', 'MISHAWAKA 0', 'Ballots Cast', '', '', '', '369']
	[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

Successfully merging this pull request may close these issues.

1 participant