Learn R Programming

rgbif (version 0.7.0)

datasets: Search for datasets and dataset metadata.

Description

Search for datasets and dataset metadata.

Usage

datasets(data = "all", type = NULL, uuid = NULL, query = NULL,
  id = NULL, limit = 20, start = NULL, callopts = list())

Arguments

callopts
Pass on options to httr::GET for more refined control of http calls, and error handling
limit
Number of records to return
start
Record number to start at
data
The type of data to get. Default is all data.
type
Type of dataset, options include OCCURRENCE, etc.
uuid
UUID of the data node provider. This must be specified if data is anything other than 'all'.
query
Query term(s). Only used when data='all'
id
A metadata document id.

Value

  • A list.

References

http://www.gbif.org/developer/summary

Examples

Run this code
datasets()
datasets(type="OCCURRENCE")
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)

Run the code above in your browser using DataLab