ajdamico / lodown

locally download and prepare publicly-available microdata
GNU General Public License v3.0
97 stars 47 forks source link

Download error with Consumer Expenditure Survey #144

Closed djkpf closed 5 years ago

djkpf commented 6 years ago

I am following the exact steps here http://asdfree.com/consumer-expenditure-survey-ces.html

When I run the following code, I receive an error:

ces_cat <- lodown( "ces" , ces_cat )

This is the error.

lodown is now exiting unexpectedly. websites that host publicly-downloadable microdata change often and sometimes those changes cause this software to break. if the error call stack below appears to be a hiccup in your internet connection, then please verify your connectivity and retry the download. otherwise, please open a new issue athttps://github.com/ajdamico/asdfree/issueswith the contents of this error call stack and also the output of yoursessionInfo(). This is then followed by another error:

Error in httr_filesize(this_url, attempts, sleepsec) : httr::HEAD( https://www2.census.gov/programs-surveys/cps/tables/time-series/historical-poverty-thresholds/thresh17.xls ) failed after 3 attemptshttr::HEAD( https://www2.census.gov/programs-surveys/cps/tables/time-series/historical-poverty-thresholds/thresh17.xls ) failed after 3 attempts

I have tried to run the code with multiple internet connections.

ajdamico commented 6 years ago

could you submit a pull request? thanks

djkpf commented 6 years ago

Hey there,

I am not actually a programmer, and am not sure what to change. I just wanted to flag the issue.

Thanks, Dan

On Mon, Sep 17, 2018 at 2:53 PM Anthony Damico notifications@github.com wrote:

could you submit a pull request? thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ajdamico/lodown/issues/144#issuecomment-422129331, or mute the thread https://github.com/notifications/unsubscribe-auth/AKI_KkTxTW6pWFukycE42zwQXbqgRuh3ks5ub--jgaJpZM4Wsf3o .

briatte commented 5 years ago

Hi ~ It seems the issue faced by @djkpf is now gone: as of today, the thresh17.xls file reported in the error is not part of the catalog created by get_catalog_ces anymore.

I believe this issue can be closed.