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

provider/dataset citation helpers #224

Open
sckott opened this issue Dec 12, 2019 · 1 comment
Open

provider/dataset citation helpers #224

sckott opened this issue Dec 12, 2019 · 1 comment

Comments

@sckott
Copy link
Contributor

sckott commented Dec 12, 2019

as we have rgbif::gbif_citation in rgbif, we should have some methods/infrastructure to help users very easily get citations for data providers and datasets within providers.

probably most queries will return citation info of some kind, probably just a matter of exposing that to users easily

for gbif, we could leverage gbif_citation here probably

one issue with gbif is that we don't support downloads here, so there's no DOIs for gbif outputs here

@sckott
Copy link
Contributor Author

sckott commented Feb 2, 2020

BISON

They ask for the following citation format:

[Data Provider or owner name]. [Resource or Dataset Name] published by [Data Provider name, address or affiliation(s)] (Accessed through Biodiversity Information Serving Our Nation (BISON), https://bison.usgs.gov, YYYY-MM-DD)

For example:
Gordon, J. U.S. Bird Occurrences published by Field Museum of Natural History, Museum of Vertebrate Zoology, University of Washington Burke Museum, and University of Turku (Accessed through Biodiversity Information Serving Our Nation (BISON), https://bison.usgs.gov, 2007-02-22)

Getting providerID and resourceID

out <- occ(query = 'Setophaga caerulescens', from = 'bison',  limit=5)
# providerID's
out$bison$data$Setophaga_caerulescens$providerID
# resourceID's
out$bison$data$Setophaga_caerulescens$resourceID

rbison has a fxn bison_citation, but it just prints out the above info on how to make a citation.

  • remake bison_citation() in line with gbif_citation so that it can take outputs of data get fxns, and spit out citations
  • when above is done, use here in spocc

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