Learn R Programming

rgbif (version 3.8.1)

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, curlopts = list())

enumeration_country(curlopts = list())

Value

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

Arguments

x

A given enumeration.

curlopts

list of named curl options passed on to HttpClient. see curl::curl_options for curl options

Examples

Run this code
if (FALSE) {
# basic enumeration
enumeration()
enumeration("NameType")
enumeration("MetadataType")
enumeration("TypeStatus")

# country enumeration
enumeration_country()

# curl options
enumeration(curlopts = list(verbose=TRUE))
}

Run the code above in your browser using DataLab