Learn R Programming

icesVocab (version 1.1-2)

getCodeDetail: Get Details

Description

Get details for a given code.

Usage

getCodeDetail(code_type, code)

Arguments

code_type
the code type, e.g. SpecWoRMS.
code
the code, e.g. 101170.

Value

A data frame.

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
# 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-43
getCodeDetail("ICES_StockCode", "had-34")

Run the code above in your browser using DataLab