R/deprecated-wbcache.R
wbcache.Rd
Download an updated list of information regarding countries, indicators, sources, data catalog, indicator topics, lending types, and income levels from the World Bank API
wbcache(lang = c("en", "es", "fr", "ar", "zh"))
lang | Language in which to return the results. If |
---|
A list containing the following items:
countries
: A data frame. The result of calling wbcountries
indicators
: A data frame.The result of calling wbindicators
sources
: A data frame.The result of calling wbsources
datacatalog
: A data frame.The result of calling wbdatacatalog
topics
: A data frame.The result of calling wbtopics
income
: A data frame.The result of calling wbincome
lending
: A data frame.The result of calling wblending
Not all data returns have support for langauges other than english. If the specific return
does not support your requested language by default it will return NA
. For an enumeration of
supported languages by data source please see wbdatacatalog
.
The options for lang
are:
en
: English
es
: Spanish
fr
: French
ar
: Arabic
zh
: Mandarin
List item datacatalog
will always return in english, as the API does not support any
other langauges for that information.
Saving this return and using it has the cache
parameter in wb
and wbsearch
replaces the default cached version wb_cachelist
that comes with the package itself