Skip to contents

Parse API meta to give the locations

Usage

parse_meta_location_ids(api_meta_locations, verbose = FALSE)

Arguments

api_meta_locations

Locations information provided by the API output

verbose

Run with additional contextual messaging. Logical, default = FALSE

Value

Data frame containing location item codes matched

Examples

get_meta_response(example_id())$locations |>
  parse_meta_location_ids()
#>   item_id   label      code geographic_level_code geographic_level
#> 1   mRj9K England E92000001                   NAT         National