load.N4D.data | R Documentation |
This function downloads the requested information using the Numbers for Development API
load.N4D.data(pIndicators, pCountry = "all", pStart = 2010, pEnd = 2015,
cache)
cache |
List of data frames returned from |
country |
Character vector of country or region codes. Default value is special code of |
indicator |
Character vector of indicator codes. These codes correspond to the |
startdate |
Numeric. Year (four digit) of the start of the requested date range. |
enddate |
Numeric. Year (four digit) of the end of the requested date range. |
lang |
Language in which to return the results. If |
Data frame with all available requested data.
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
.
The options for lang
are:
en
: English
es
: Spanish
fr
: French
ar
: Arabic
zh
: Mandarin
If there is no data available that matches the request parameters, an empty data frame is returned along with a
warning
.
@examples load.NC.data(pIndicators=c("SOC_046")) load.N4D.data(pIndicators=c("SOC_046"),pStart=2013,pEnd=2015, pCountry='all')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.