ai | R Documentation |
Download data from indicators of the from World Bank API, Numbers for Development API and No Celings
ai(country = "all", indicator, startdate = 2010, enddate = 2015,
lang = c("en", "es", "fr", "ar", "zh"), meta = TRUE, cache)
country |
List of countries. If |
startdate |
Start date of the requested date range of the indicator data |
enddate |
End date of the requsted date range of the indicator data |
lang |
Language in which to return the metadata of the indicators. If |
cache |
Cache of the metadata of the indicators, countries and topics |
A data frame with the data of the indicator, countries and date range specified
Not all data returns have support for langauges other than english. Indicators from No Celings are only available in 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.
The options for lang
are:
en
: English
es
: Spanish
# Get the data for two indicators and all countries
ai(indicator = c("SOC_046","SL.UEM.TOTL.NE.ZS"))
#Get the data for two indicators and one country from 2000 until 2015
ai(indicator = c("CONTFEHQ","SOC_046","SL.UEM.TOTL.NE.ZS"),country = c("CO"),startdate = 2000,enddate = 2015)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.