R/get_dataset.R
get_dataset.default.Rd
A function to access the Neotoma API and return datasets corresponding to the parameters defined by the user.
# S3 method for default 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. You can find the full list of allowed datasettypes using: |
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://wnapi.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. |