View source: R/getCodeTypeList.R
getCodeTypeList | R Documentation |
Get all code types. Mainly useful as a reminder of what code types are available.
getCodeTypeList(code_type = NULL, date = NULL)
code_type |
optional parameter to restrict output to a specific code type. |
date |
restrict output to code types modified after a given date in yyyy-mm-dd format, e.g. "2010-12-01" |
A data frame.
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.
## Not run:
# 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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.