Nomis uses TYPE codes to organize geographies hierarchically:
# Single area
london_data <- fetch_nomis(
"NM_1_1",
time = "latest",
geography = "2013265927", # London code
measures = 20100
)
# Multiple areas
cities <- c("1879048226", "1879048225") # Manchester, Liverpool
cities_data <- fetch_nomis(
"NM_1_1",
time = "latest",
geography = cities,
measures = 20100
)