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

Fix encoding and fill in Write In column for WI results #275

Merged
merged 2 commits into from
Jun 11, 2019

Conversation

nbdavies
Copy link
Contributor

This addresses two things:

  1. Wisconsin has some candidate names that include non-latin characters (Juan Colás for example). The ideal way to handle it seemed to be opening the file in binary and then reading the CSV contents using UTF-8.

  2. For Wisconsin results, write-in candidates have (Write-In) in the candidate name. Now when baking results, that will be removed from the candidate name and the write-in column will be filled in based on whether that occurred. See issue: Wisconsin results files don't have total votes/winner/write-in columns filled in #274

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.

None yet

2 participants