build_query_string_cl: build_query_string_cl Create povcalnet query string for...

Description Usage Arguments Value Examples

View source: R/build_query_string_cl.R

Description

build_query_string_cl Create povcalnet query string for country level, survey year specification

Usage

1
2
3
4
5
6
7
8
build_query_string_cl(
  country,
  povline,
  year,
  ppp = NULL,
  coverage_type = NULL,
  format = "json"
)

Arguments

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'

Value

character

Examples

1
2
3
build_query_string_cl(country = c("ALB", "CHN"),
povline = c(1.9, 2.0),
year = c(2002, 2002))

povcalnetR documentation built on July 8, 2020, 6:48 p.m.