Get en EBX5 codelist using the ID; internal
GetCodelistByID.Rd
This function returns the EBX5 codelist for a given EBX5 codelist ID; codelists are normally referred by Acronymn, but fishstat uses the ID This function requires that EBX5 metadata was loded already
Value
Returns an object of the class data.table
Author
Thomas Berger, thomas.berger@fao.org
Examples
if (FALSE) {
library(faoebx5)
library(fishstatr)
ReadMetadata()
country_codelist_ID <- 200 # the ID for CL_FI_COUNTRY_ITEM
cl <- GetCodelistByID(country_codelist_ID)
# same as
cl <- ReadEBXCodeList('CL_FI_COUNTRY_ITEM')
}