| fetch_nomis | R Documentation |
Main function to download data from Nomis datasets.
fetch_nomis(
id,
time = NULL,
date = NULL,
geography = NULL,
sex = NULL,
measures = NULL,
exclude_missing = FALSE,
select = NULL,
...,
.progress = interactive()
)
id |
Dataset ID (required) |
time |
Time range using keywords or specific dates |
date |
Specific dates (alternative to time) |
geography |
Geography code(s) |
sex |
Sex/gender code(s) |
measures |
Measure code(s) |
exclude_missing |
Remove missing values |
select |
Column names to include |
... |
Additional dimension filters |
.progress |
Show progress bar for multi-part queries |
Tibble with requested data
fetch_nomis(
"NM_1_1",
time = "latest",
geography = "TYPE499",
measures = 20100,
sex = 7
)
fetch_nomis(
"NM_1_1",
date = c("latest", "prevyear"),
geography = c("2092957697", "2092957698"),
measures = 20100
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.