Learn R Programming

icesVocab (version 1.1-2)

getCodeList: Get Codes

Description

Get codes of a given code type.

Usage

getCodeList(code_type, date = NULL)

Arguments

code_type
the code type, e.g. SpecWoRMS.
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

Run this code
# Aphia Species codes
findCodeType("aphia", full = TRUE)
codes <- getCodeList("SpecWoRMS")
head(codes)

findAphia("cod", full = TRUE)

Run the code above in your browser using DataLab