Description Usage Arguments Value Examples
CodeSearch search matching codes in a given dimension of a dataset
1 2  | CodeSearch(available.codes, code, searchtext, search.value = TRUE,
  search.text = TRUE)
 | 
available.codes | 
 string. Database ID of the dataset.  | 
code | 
 string. Dimension code get from   | 
searchtext | 
 string. String to search in the dimension code.  | 
search.value | 
 logical. If true, it will search   | 
search.text | 
 logical. If true, it will search   | 
A list for each dimension. The name of the list is the dimension name. Each element of the list is a data frame with two columns; dimension code and dimension text(description).
1 2 3 4 5 6  | IFS.available.codes <- DataStructureMethod('IFS') # Get dimension code of IFS dataset
names(IFS.available.codes) # Available dimension code
IFS.available.codes[[1]] # Possible code in the first dimension
CodeSearch(IFS.available.codes, 'CLL', 'GDP') # Error (CLL is not a dimension code of IFS dataset)
CodeSearch(IFS.available.codes, 'CL_INDICATOR_IFS', 'GDP') # Search code contains GDP
CodeSearch(IFS.available.codes, 'CL_INDICATOR_IFS', 'GDPABCDE') # NULL
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.