This updates the format tests to version 1.0.0. The tests now verify that the "votes" column contains values that represent integers. This reveals the following errors:
2016/20161108njgeneral__precinct.csv
* There are 1 rows with votes that aren't integers:
Headers: ['county', 'precinct', 'office', 'district', 'candidate', 'party', 'votes', 'early_voting', 'election_day', 'provisional']:
Row 60527: ['Burlington', 'Willingboro Twp 22D - Polling Plat', 'President', '', 'Ballots Cast', '', '22.9', '', '', '']
* There are 1 rows with votes that aren't integers:
Headers: ['county', 'precinct', 'office', 'district', 'candidate', 'party', 'votes']:
Row 912: ['Burlington', 'Willingboro Twp 22D - Polling Plat', 'President', '', 'Ballots Cast', '', '22.9']
The new tests also perform additional checks on the headers, and reveal:
2016/20160607__nj__primary.csv
* There are 1 rows that have entries with leading or trailing whitespace characters:
Row 0: ['candidate', 'office', 'district', 'party', 'county ', 'votes']
This updates the format tests to version 1.0.0. The tests now verify that the "votes" column contains values that represent integers. This reveals the following errors:
2016/20161108njgeneral__precinct.csv
2016/counties/20161108njgeneralburlingtonprecinct.csv
The new tests also perform additional checks on the headers, and reveal:
These will be fixed in subsequent pull requests.