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

getFIA URL error #39

Open
araiho opened this issue Jan 10, 2023 · 2 comments
Open

getFIA URL error #39

araiho opened this issue Jan 10, 2023 · 2 comments

Comments

@araiho
Copy link

araiho commented Jan 10, 2023

Example for getFIA reads out

db <- getFIA(states = 'RI')

trying URL 'https://apps.fs.usda.gov/fia/datamart/CSV/RI.zip'
Error in download.file(url, temp) :
cannot open URL 'https://apps.fs.usda.gov/fia/datamart/CSV/RI.zip'
In addition: Warning message:
In download.file(url, temp) :
cannot open URL 'https://apps.fs.usda.gov/fia/datamart/CSV/RI.zip': HTTP status was '404 Not Found'

@whalend
Copy link
Contributor

whalend commented Jan 10, 2023

It looks like there are problems on the USFS side. Manually navigating their DataMart 2.0 website to download an individual CSV, .zip, or SQLite is resulting in the 404 error as well.
Let them know it isn't working by emailing here: SM.FS.FIA.Digital@usda.gov

@araiho I think you'll want to install the rFIA to the development version because the naming convention of the CSV files was changed, which I think @hunter-stanke and/or others already addressed
devtools::install_github('hunter-stanke/rFIA')

That of course doesn't fix the data delivery error on the other end

@araiho
Copy link
Author

araiho commented Jan 10, 2023

Thank you for your quick response @whalend! I will email USDA and have installed the dev version. Appreciate the package and everyone's work

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

No branches or pull requests

2 participants