Learn R Programming

WDI (version 2.7.8)

WDIsearch: Search names and descriptions of available WDI series

Description

Data frame with series code, name, description, and source for the WDI series which match the given criteria

Usage

WDIsearch(string = "gdp", field = "name", short = TRUE, cache = NULL)

Value

Data frame with code, name, source, and description of all series which match the criteria.

Arguments

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.

Examples

Run this code
if (FALSE) {
WDIsearch(string='gdp', field='name', cache=NULL)
WDIsearch(string='AG.AGR.TRAC.NO', field='indicator', cache=NULL)
}

Run the code above in your browser using DataLab