Guide to requesting Census 2021 observations
Census 2021 Datasets - Topic Summaries and Multivariate Datasets
To retrieve observations for Census 2021 datasets, the following URL structure is used:
This will retrieve observations for the default dataset which will consist of the area-type of lower tier local authority, and the variable associated with the topic summary e.g. Age. An example URI is:
It is possible to flex the geography and return results for different area-types and restrict the results to specific areas. The following URI is an example of this, where TS008 results are returned for Wales only:
The area-type parameter values can be discovered by using the population-types api. The area code to filter the geography which is after the comma in the URI can also be found by using the population-types api.