Skip to contents

Gets information about indicators (i.e. dataset) and locations for further querying from the WPP API

Usage

get_base_levels(target)

Arguments

target

String, one of "Indicators" or "locations"

Value

tibble containing a wide range of information about the requested endpoint

Examples

get_base_levels("Indicators")
#> Error in req_perform(req, path = get_path(i)): Failed to perform HTTP request.
#> Caused by error in `curl::curl_fetch_memory()`:
#> ! error:0A000152:SSL routines::unsafe legacy renegotiation disabled
get_base_levels("locations")
#> Error in req_perform(req, path = get_path(i)): Failed to perform HTTP request.
#> Caused by error in `curl::curl_fetch_memory()`:
#> ! error:0A000152:SSL routines::unsafe legacy renegotiation disabled