Search names and descriptions of available WDI series
Data frame with series code, name, description, and source for the WDI series which match the given criteria
WDIsearch(string = "gdp", field = "name", short = TRUE, cache = NULL)
string
Character string. Search for this string using grep
with
ignore.case=TRUE
.
field
Character string. Search this field. Admissible fields: ‘indicator’,
‘name’, ‘description’, ‘sourceDatabase’, ‘sourceOrganization’
short
TRUE: Returns only the indicator’s code and name. FALSE: Returns the
indicator’s code, name, description, and source.
cache
Data list generated by the WDIcache
function. If omitted,
WDIsearch
will search a local list of series.
Data frame with code, name, source, and description of all series which match the criteria.
library(WDI)
WDIsearch(string='gdp', field='name', cache=NULL)
WDIsearch(string='AG.AGR.TRAC.NO', field='indicator', cache=NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.