WDIsearch: Search names and descriptions of available WDI series

View source: R/WDI.R

WDIsearchR Documentation

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)

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.

Value

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

Examples

## Not run: 
WDIsearch(string='gdp', field='name', cache=NULL)
WDIsearch(string='AG.AGR.TRAC.NO', field='indicator', cache=NULL)

## End(Not run)

WDI documentation built on Sept. 25, 2022, 5:06 p.m.