R/build_query_string_cl.R
build_query_string_cl.Rd
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
#> [1] "C0=ALB&PL0=1.9&Y0=2002&C1=CHN&PL1=2&Y1=2002&format=json"