Open juancalvof opened 4 years ago
Hi @JuanCalvoFerrandiz, and thanks for reporting.
I have been able to replicate it and will start fixing it soon. I will keep you updated.
The .zip file that the program wants to download is this one: https://data.census.gov/cedsci/table?q=demographic%20data%20by%20county&hidePreview=false&tid=ACSCP5Y2018.CP05&vintage=2018&g=0100000US.050000
What is causing the problem is that the dataset URL was obtained getting the link address for the downloaded file in the web browser. This URL has the following form:
https://data.census.gov/api/access/table/download?download_id=TOKEN
The problem is that this TOKEN is changed in each download, making it useless when trying to download the file multiple times. We need to find a URL using the API directly.
Commit SHA: commit c4af4d71d781ac9fd204713b41cd79650519497c (HEAD -> master, origin/master, origin/HEAD) Merge: f23824d 3de7d90 Author: Manuel Alvarez Campo manuel@pythiac.com Date: Sat Apr 4 13:48:16 2020 +0200
Merge pull request #35 from shaikh-raj/master
Adding metadata for CDS datasource
Description
I got the error 500 when calling us_census()
Error