View source: R/build_query_string_cl.R
| build_query_string_cl | R Documentation |
build_query_string_cl Create povcalnet query string for country level, survey year specification
build_query_string_cl( country, povline, year, ppp = NULL, coverage_type = NULL, format = "json" )
country |
character: Requested country. Use iso3 codes |
povline |
numeric: Requested poverty lines in international dollars |
year |
numeric: Requested survey years |
ppp |
numeric: Optional - Custom PPP exchange rates (Purchasing Power parity) |
coverage_type |
character: Optional - Type of data coverage. Take one to the following values rural; urban; national; special_cpi; aggregated_distribution, invalid_ppp |
format |
character: Response format to be requested from the API: 'csv' or 'json' |
character
build_query_string_cl(country = c("ALB", "CHN"),
povline = c(1.9, 2.0),
year = c(2002, 2002))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.