Skip to contents

Get numeric IDs of indicators and locations for the WPP API

Usage

get_id(name, type, search = TRUE)

Arguments

name

Name of the variable to search for

type

One of "locations" or "Indicators", which dataset to search

Whether to perform simple search/matching. Defaults to TRUE

Value

tibble containing only the matching records. Column id is the numeric id which will be needed downstream

Examples

get_id("Australia", typ = "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