Skip to content

fix encoding to enable reading of https://wwwn.cdc.gov/Nchs/Nhanes/20… #109

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gorefbitim
Copy link

I tried to open this the following government file

with the following code:

with open(filename, 'rb') as f:
    data = xport.v56.load(f)

But it crashed. To fix this, I need to change the encoding as given in the PR.

Please help me do cancer and other age related disease research by accepting this PR !

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