Learn R Programming

icesVocab (version 1.3.1)

getCodeList: Get Codes

Description

Get codes of a given code type.

Usage

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

Value

A data frame.

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".

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

Run this code
if (FALSE) {
# 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")
}

Run the code above in your browser using DataLab