
Get all code types. Mainly useful as a reminder of what code types are available.
getCodeTypeList(code_type = NULL, date = NULL)
A data frame.
optional parameter to restrict output to a specific code type.
restrict output to code types modified after a given date in yyyy-mm-dd format, e.g. "2010-12-01"
getCodeList
and getCodeDetail
get codes of a
given type and code details.
findCodeType
searches for a code types based on a search string.
icesVocab-package
gives an overview of the package.
if (FALSE) {
# Find code type for World Register of Marine Species (WoRMS)
types <- getCodeTypeList()
types[grep("worms", tolower(types$Description)),]
# The code type "SpecWoRMS" can be used when calling getCodeTypeList()
getCodeTypeList(code_type = "SpecWoRMS")
# or using the guid
getCodeTypeList(code_type = "f107b677-97ff-4cd9-b4ab-637bb6706066")
findCodeType("worms", full = TRUE)
}
Run the code above in your browser using DataLab