Learn R Programming

icesVocab (version 1.1-2)

getCodeTypeList: Get Types

Description

Get all code types. Mainly useful as a reminder of what code types are available.

Usage

getCodeTypeList(date = NULL)

Arguments

date
restrict output to code types modified after a given date in yyyy-mm-dd format, e.g. "2010-12-01"

Value

A data frame.

See Also

getCodeList and getCodeDetail get codes of a given type and code details.

findCodeType searches for a code types based on a search string.

icesVocab-package gives an overview of the package.

Examples

Run this code
# Find code type for World Register of Marine Species (WoRMS)
types <- getCodeTypeList()
types[grep("worms", tolower(types$Description)),]

findCodeType("worms", full = TRUE)

# The code type "SpecWoRMS" can be used when calling getCodeList()

Run the code above in your browser using DataLab