Usage
ncdc_datatypes(datasetid = NULL, datatypeid = NULL, datacategoryid = NULL, stationid = NULL, locationid = NULL, startdate = NULL, enddate = NULL, sortfield = NULL, sortorder = NULL, limit = 25, offset = NULL, token = NULL, dataset = NULL, page = NULL, filter = NULL, ...)
Arguments
datasetid
(optional) Accepts a valid dataset id or a vector or list of them. Data
returned will be from the dataset specified.
datatypeid
Accepts a valid data type id or a vector or list of data type ids.
(optional)
datacategoryid
Optional. Accepts a valid data category id or a vector or list
of data category ids (although it is rare to have a data type with more than
one data category)
stationid
Accepts a valid station id or a vector or list of station ids
locationid
Accepts a valid location id or a vector or list of location ids
(optional)
startdate
(optional) Accepts valid ISO formated date (yyyy-mm-dd) or date time
(YYYY-MM-DDThh:mm:ss). Data returned will have data after the specified date. The
date range must be less than 1 year.
enddate
(optional) Accepts valid ISO formated date (yyyy-mm-dd) or date time
(YYYY-MM-DDThh:mm:ss). Data returned will have data before the specified date. The
date range must be less than 1 year.
sortfield
The field to sort results by. Supports id, name, mindate, maxdate, and
datacoverage fields (optional)
sortorder
Which order to sort by, asc or desc. Defaults to asc (optional)
limit
Defaults to 25, limits the number of results in the response. Maximum is
1000 (optional)
offset
Defaults to 0, used to offset the resultlist (optional)
token
This must be a valid token token supplied to you by NCDC's Climate
Data Online access token generator. (required) Get an API key (=token) at
http://www.ncdc.noaa.gov/cdo-web/token. You can pass your token in as
an argument or store it in your .Rprofile file with an entry like
- options("noaakey" = "your-noaa-token")
dataset
THIS IS A DEPRECATED ARGUMENT. See datasetid.
page
THIS IS A DEPRECATED ARGUMENT. There is no equivalent argument in v2
of the NOAA API.
filter
THIS IS A DEPRECATED ARGUMENT. There is no equivalent argument in v2
of the NOAA API.
...
Curl options passed on to GET
(optional)