getCodeList: Get Codes

View source: R/getCodeList.R

getCodeListR Documentation

Get Codes

Description

Get codes of a given code type.

Usage

getCodeList(code_type, code = NULL, date = NULL)

Arguments

code_type

the code type, e.g. SpecWoRMS.

code

optional code to restrict output to.

date

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

Value

A data frame.

See Also

getCodeTypeList and getCodeDetail get code types and code details.

findCodeType and findAphia provide support for searching the code type and code lists.

icesVocab-package gives an overview of the package.

Examples

## Not run: 
# Aphia Species codes
findCodeType("aphia", full = TRUE)
codes <- getCodeList("SpecWoRMS")
head(codes)

findCode("ship", "clupea", full = TRUE)

getCodeList("ICES_Area")
getCodeList("ICES_Area", code = "27.4.a")

## End(Not run)

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