Learn R Programming

nomisdata (version 0.1.1)

add_geography_names: Join Geography Names

Description

Adds human-readable geography names to data.

Usage

add_geography_names(data, dataset_id = "NM_1_1")

Value

Data frame with GEOGRAPHY_NAME added

Arguments

data

Data frame with GEOGRAPHY_CODE column

dataset_id

Dataset to get geography names from

Examples

Run this code
# \donttest{
data <- fetch_nomis("NM_1_1", time = "latest", geography = "TYPE499")
data_with_names <- add_geography_names(data)
# }

Run the code above in your browser using DataLab