Learn R Programming

icesVocab (version 1.3.1)

getCodeDetail: Get Details

Description

Get details for a given code.

Usage

getCodeDetail(code_type, code)

Value

A data frame.

Arguments

code_type

the code type, e.g. SpecWoRMS.

code

the code, e.g. 101170.

See Also

getCodeTypeList and getCodeList get code types and codes of a given type.

icesVocab-package gives an overview of the package.

Examples

Run this code
if (FALSE) {
# Species code 101170 - Myxine glutinosa
getCodeDetail("SpecWoRMS", 101170)

# find details of Haddock using the aphia ID
findCode("species", "haddock", full = TRUE)

getCodeDetail("SpecWoRMS", 126437)

# get info for had-34
getCodeDetail("ICES_StockCode", "had-34")
}

Run the code above in your browser using DataLab