Learn R Programming

rgbif (version 0.9.7)

enumeration: Enumerations.

Description

Many parts of the GBIF API make use of enumerations, i.e. controlled vocabularies for specific topics - and are available via these functions

Usage

enumeration(x = NULL, ...)
enumeration_country(...)

Arguments

x
A given enumeration.
...
Further named parameters, such as query, path, etc, passed on to modify_url within GET call. Unnamed parameters will be combined with config.

Value

enumeration returns a character vector, while enumeration_country returns a data.frame.

Examples

Run this code
## Not run: 
# # basic enumeration
# enumeration()
# enumeration("NameType")
# enumeration("MetadataType")
# enumeration("TypeStatus")
# 
# # country enumeration
# enumeration_country()
# 
# # curl options
# library("httr")
# enumeration(config = verbose())
# ## End(Not run)

Run the code above in your browser using DataLab