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

Error using download_d1_data #117

Open
kristenpeach opened this issue Jun 16, 2020 · 0 comments
Open

Error using download_d1_data #117

kristenpeach opened this issue Jun 16, 2020 · 0 comments

Comments

@kristenpeach
Copy link
Collaborator

kristenpeach commented Jun 16, 2020

I am trying to download a data package (https://portal.edirepository.org/nis/mapbrowse?packageid=knb-lter-nwt.213.1) using download_d1_data() and I am getting an error message.

My code:

desired_path_to_data <- "~/SI_river_data"

dir.create(desired_path_to_data, showWarnings = FALSE)

my_data_url <- "https://portal.edirepository.org/nis/dataviewer?packageid=knb-lter-nwt.213.1&entityid=191b29ee0884b9c5848fe3c6db329a63"

downloaded_data <- download_d1_data(data_url = my_data_url, path = desired_path_to_data)

Error Message
"Error in check_version(data_url, formatType = "data") : No matching identifiers were found."

When I try to use download_d1_data_pkg using the package doi I also get an error message.

My code:
meta_obj <- "doi:10.6073/pasta/49ace263067caf02c0b27c8b6a877683"

downloaded_data <- download_d1_data_pkg(meta_obj, path = desired_path_to_data)

Error Message:
Error in check_version(pkg_doi) : No matching identifiers were found.

Rmarkdowns

Rmarkdown where I try to import this data: https://github.com/kristenpeach/lterwg-si-export/blob/master/metajam_example/NWT_soddie_watershed.Rmd

Example Rmarkdown where I have used this function successfully: https://github.com/kristenpeach/lterwg-si-export/blob/master/metajam_example/HBR_watershed_9.Rmd

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

1 participant