enumeration: Enumerations.

Description Usage Arguments Value Examples

View source: R/enumeration.R

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

1
2
3
enumeration(x = NULL, curlopts = list())

enumeration_country(curlopts = list())

Arguments

x

A given enumeration.

curlopts

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

Value

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
# basic enumeration
enumeration()
enumeration("NameType")
enumeration("MetadataType")
enumeration("TypeStatus")

# country enumeration
enumeration_country()

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

## End(Not run)

rgbif documentation built on May 30, 2017, 5:39 a.m.

Search within the rgbif package
Search all R packages, documentation and source code