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

Response properties/values missing from get_dataset #220

Open
Archaeo-Programmer opened this issue Nov 15, 2017 · 2 comments
Open

Response properties/values missing from get_dataset #220

Archaeo-Programmer opened this issue Nov 15, 2017 · 2 comments

Comments

@Archaeo-Programmer
Copy link

Archaeo-Programmer commented Nov 15, 2017

Some of the response properties or values that might be returned using get_dataset seem to be missing. For example, MP <- get_dataset(datasettype='pollen surface sample', gpid = "Colorado"), returns 4 records. In MP$368$dataset.meta, there is dataset.id, dataset.name, collection.type, collection.handle, and dataset.type; however, collection.id (or CollUnitID) is not there. It also does not occur in any other list or data frame.

https://cran.r-project.org/web/packages/neotoma/neotoma.pdf
http://api.neotomadb.org/doc/resources/datasets?s[]=collection&s[]=date

@SimonGoring
Copy link
Member

Do you need this response property in particular? The Collection Handle is also unique. We streamlines some of the response properties in the package, but could expand the objects to include those elements.

Let me know if you want them all. This might need a workaround as we work to API version 2.

@Archaeo-Programmer
Copy link
Author

Archaeo-Programmer commented Nov 18, 2017

Thanks for the reply. I was thinking that I could use the Collection ID to be able to navigate to properties associated with each Collection Unit ID. But really the response property that I am interested in is the Collection Date, if one is available that is for a given record. It looks like it does show up when running a script in a browser: http://api.neotomadb.org/v1/dbtables/CollectionUnits?limit=10&offset=20

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