Query the CensusMapper API for available regions in a given dataset.
The dataset to query for available regions, e.g.
If set to TRUE, data will be read from a local cache, if available. If set to FALSE (the default), query the API for the data, and refresh the local cache with the result.
When TRUE, suppress messages and warnings.
Returns a data frame with the following columns:
The region identifier.
The name of that region.
The census aggregation level of that region.
The population of that region.
Additional identifiers to distinguish the municipal status of census subdivisions.
The identifier for the Census Metropolitan Area the region is in (if any).
The identifier for the Census District the region is in (if any).
The identifier for the Province the region is in (if unique).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.