Get Country Profiles Key Indicators
get_cp_ki(
country = NULL,
povline = 2.15,
version = NULL,
ppp_version = 2017,
release_version = NULL,
api_version = "v1",
format = c("arrow", "rds", "json", "csv"),
simplify = TRUE,
server = NULL
)
character: A vector with one or more country ISO 3 codes or 'all'
numeric: Poverty line
character: Data version. See get_versions()
ppp year to be used
date when the data was published in YYYYMMDD format
character: API version
character: Response format either of c("rds", "json", "csv")
logical: If TRUE (the default) the response is returned as a
tibble
character: Server. For WB internal use only
If simplify = FALSE
, it returns a list of class "pip_api". If
simplify = TRUE
, it returns a tibble with the requested data. This is the
default. Only for get_aux()
, If assign_tb = TRUE
or character, it
returns TRUE when data was assign properly to .pip env. FALSE, if it was
not assigned.