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: build data from gc json api instead of csv #6

Merged
merged 1 commit into from
Aug 7, 2020
Merged

Conversation

trs
Copy link
Contributor

@trs trs commented Aug 5, 2020

The csv that is downloaded is in a weird text format (likely Windows 1252), this causes special characters (like accents) to be invalid in utf8.

Instead, we can use the api from stats can for this purpose to get a valid utf8 response instead.

image

@trs trs added the bug Something isn't working label Aug 5, 2020
@trs trs self-assigned this Aug 5, 2020
@trs trs force-pushed the fix-data-encoding branch 4 times, most recently from 59c6a8a to 6412a83 Compare August 5, 2020 21:26
The csv that is downloaded is in a weird text format (likely Windows 1252), this causes special characters (like accents) to be invalid in utf8.

Instead, we can use the api for this purpose to get a valid utf8 response instead.
@trs trs force-pushed the fix-data-encoding branch from 6412a83 to 1265fa0 Compare August 5, 2020 21:27
@trs trs marked this pull request as ready for review August 5, 2020 21:28
@trs trs requested a review from matt-forster August 5, 2020 21:31
@trs trs merged commit b116af8 into master Aug 7, 2020
@trs trs deleted the fix-data-encoding branch August 7, 2020 16:48
@matt-forster
Copy link

Sorry! This slipped through the cracks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants