getCodeTypeList: Get Types

View source: R/getCodeTypeList.R

getCodeTypeListR Documentation

Get Types

Description

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

Usage

getCodeTypeList(code_type = NULL, date = NULL)

Arguments

code_type

optional parameter to restrict output to a specific code type.

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

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

# The code type "SpecWoRMS" can be used when calling getCodeTypeList()
getCodeTypeList(code_type = "SpecWoRMS")
# or using the guid
getCodeTypeList(code_type = "f107b677-97ff-4cd9-b4ab-637bb6706066")

findCodeType("worms", full = TRUE)


## End(Not run)

icesVocab documentation built on June 8, 2025, 11:25 a.m.