| list_census_regions {cancensus} | R Documentation | 
Query the CensusMapper API for available regions in a given dataset.
Description
Query the CensusMapper API for available regions in a given dataset.
Usage
list_census_regions(dataset, use_cache = TRUE, quiet = FALSE)
Arguments
dataset | 
 The dataset to query for available regions, e.g.
  | 
use_cache | 
 If set to TRUE (the default), data will be read from a local cache that is maintained for the duration of the R session, if available. If set to FALSE, query the API for the data, and refresh the local cache with the result.  | 
quiet | 
 When TRUE, suppress messages and warnings.  | 
Value
Returns a data frame with the following columns:
regionThe region identifier.
nameThe name of that region.
levelThe census aggregation level of that region.
popThe population of that region.
municipal_statusAdditional identifiers to distinguish the municipal status of census subdivisions.
CMA_UIDThe identifier for the Census Metropolitan Area the region is in (if any).
CD_UIDThe identifier for the Census District the region is in (if any).
PR_UIDThe identifier for the Province the region is in (if unique).
Examples
## Not run: 
list_census_regions('CA16')
## End(Not run)