# Pull all data from the "Jobseeker's Allowance" dataset
if (FALSE) get_ons_table("nm_1_1")
# Filter "Jobseeker's Allowance" dataset and select columns to output ('select')
get_ons_table("nm_1_1", geography = "TYPE480", time = "latest", measures = 20100, item = 1,
select = c("geography_name", "sex_name", "obs_value"))
# Aggregate statistics using 'rows' and 'cols'
get_ons_table("nm_1_1",
geography = "TYPE480", time = "latest", measures = 20100, item = 1,
select = c("geography_name", "sex_name", "obs_value"),
rows = c("geography_name"), cols = c("sex_name"))
Run the code above in your browser using DataLab