wb_cache {wbstats} | R Documentation |
Download an updated list of country, indicator, and source information
Description
Download an updated list of information regarding countries, indicators, sources, regions, indicator topics, lending types, income levels, and supported languages from the World Bank API
Usage
wb_cache(lang)
Arguments
lang |
Language in which to return the results. If |
Value
A list containing the following items:
-
countries
: The result of callingwb_countries()
-
indicators
: The result of callingwb_indicators()
-
sources
: The result of callingwb_sources()
-
topics
: The result of callingwb_topics()
-
regions
: The result of callingwb_regions()
-
income_levels
: The result of callingwb_income_levels()
-
lending_types
: The result of callingwb_lending_types()
-
languages
: The result of callingwb_languages()
Note
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 wb_languages()
Saving this return and using it has the cache
parameter in wb_data()
and wb_search()
replaces the default cached version wb_cachelist that comes with the package itself