A function to access the Neotoma API and return datasets corresponding to the parameters defined by the user.
1 2 3 | ## Default S3 method:
get_dataset(x, datasettype, piid, altmin, altmax, loc,
gpid, taxonids, taxonname, ageold, ageyoung, ageof, subdate)
|
x |
A numeric value corresponding to the site ID. |
datasettype |
A character string corresponding to one of the allowed dataset types in the Neotoma Database. Allowed types include: |
piid |
Numeric value for the Principle Investigator's ID number. |
altmin |
Numeric value indicating the minimum altitude for the site (can be used alone or with |
altmax |
Numeric value indicating the maximum altitude for the site (can be used alone or with |
loc |
A numeric vector |
gpid |
A character string or numeric value, must correspond to a valid geopolitical identity in the Neotoma Database. Use get.tables('GeoPoliticalUnits') for a list of acceptable values, or link here: http://api.neotomadb.org/apdx/geopol.htm |
taxonids |
A numeric identifier for the taxon. See |
taxonname |
A character string corresponding to a valid taxon identity in the Neotoma Database. See |
ageold |
The oldest date acceptable for the search (in years before present). |
ageyoung |
The youngest date acceptable for the search. |
ageof |
If a taxon ID or taxon name is defined this parameter must be set to |
subdate |
Date of dataset submission, either YYYY-MM-DD or MM-DD-YYYY. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.