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

HTTP 404 error for doi pulled from Dataverse #12

Closed
ulfelder opened this issue Mar 2, 2017 · 1 comment
Closed

HTTP 404 error for doi pulled from Dataverse #12

ulfelder opened this issue Mar 2, 2017 · 1 comment
Assignees
Labels

Comments

@ulfelder
Copy link

ulfelder commented Mar 2, 2017

I'm getting a "Not Found (HTTP 404)" error when I try to pull metadata for a doi that was itself pulled from Dataverse using dataverse_search. Here's the sequence that leads to the error:

search <- dataverse_search("ICEWS")
md <- dataverse_metadata(search$url[4])

Is this an issue with the R package or Dataverse itself?

@leeper leeper added the question label Mar 2, 2017
@leeper leeper self-assigned this Mar 2, 2017
@leeper
Copy link
Member

leeper commented Mar 2, 2017

@ulfelder Thanks, I think the issue here is that you probably want get_dataset() or dataset_files() rather than dataverse_metadata(). In dataverse lingo a DOI points to a dataset, which can contain many related files, whereas a dataverse is a collection of datasets (and possibly other dataverses).

Thus dataverse_metadata("icews") would be used to retrieve information about the dataverse that this dataset is contained within. And that's probably not useful at any level.

I just pushed a couple of little fixes that might affect the behavior of these functions, so you may want to reinstall from GitHub.

Let me know if I can make this clearer in the documentation.

@ulfelder ulfelder closed this as completed Mar 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants