
Last chance! 50% off unlimited learning
Sale ends in
Search for datasets and dataset metadata.
datasets(
data = "all",
type = NULL,
uuid = NULL,
query = NULL,
id = NULL,
limit = 100,
start = NULL,
curlopts = list()
)
A list.
The type of data to get. One or more of: 'organization',
'contact', 'endpoint', 'identifier', 'tag', 'machinetag', 'comment',
'constituents', 'document', 'metadata', 'deleted', 'duplicate',
'subDataset', 'withNoEndpoint', or the special 'all'. Default: all
Type of dataset. Options: include occurrence, checklist, metadata, or sampling_event.
UUID of the data node provider. This must be specified if data
is anything other than all
Query term(s). Only used when data=all
A metadata document id.
Number of records to return. Default: 100. Maximum: 1000.
Record number to start at. Default: 0. Use in combination
with limit
to page through results.
list of named curl options passed on to
HttpClient
. see curl::curl_options
for curl options
if (FALSE) {
datasets(limit=5)
datasets(type="occurrence", limit=10)
datasets(uuid="a6998220-7e3a-485d-9cd6-73076bd85657")
datasets(data='contact', uuid="a6998220-7e3a-485d-9cd6-73076bd85657")
datasets(data='metadata', uuid="a6998220-7e3a-485d-9cd6-73076bd85657")
datasets(data='metadata', uuid="a6998220-7e3a-485d-9cd6-73076bd85657",
id=598)
datasets(data=c('deleted','duplicate'))
datasets(data=c('deleted','duplicate'), limit=1)
# curl options
datasets(data=c('deleted','duplicate'), curlopts = list(verbose=TRUE))
}
Run the code above in your browser using DataLab