Skip to content

added simple flag to use archive.org mirror of census site#50

Open
samgalen wants to merge 1 commit intosocialfoundations:mainfrom
samgalen:archive_url
Open

added simple flag to use archive.org mirror of census site#50
samgalen wants to merge 1 commit intosocialfoundations:mainfrom
samgalen:archive_url

Conversation

@samgalen
Copy link

@samgalen samgalen commented Feb 4, 2025

This is a kind of hot-fix for the removal of public access to the US census website as referenced in issue #49 It simply appends a url to a archive.org archive of the US census website if an ACSDataSource object is initialized with the use_archive=True.

This branch also contains tests in tests/test_archive.py which tests this approach both for data download and definition download.

@Langbridge
Copy link

Data from 2020 is missing from the web archive, would be good to raise an exception for that survey year

@Pibborn
Copy link

Pibborn commented Jul 15, 2025

could this be merged and a new version pushed on PyPi? :)

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.

3 participants