Title: | Maps of the Political and Administrative Divisions of Canada |
---|---|
Description: | Terrestrial maps with simplified topologies for Census Divisions, Agricultural Regions, Economic Regions, Federal Electoral Divisions and Provinces. |
Authors: | Mauricio Vargas Sepulveda [aut, cre], Statistics Canada [dtc] |
Maintainer: | Mauricio Vargas Sepulveda <[email protected]> |
License: | Apache License (>= 2) |
Version: | 0.3.0 |
Built: | 2024-11-04 05:34:55 UTC |
Source: | https://github.com/pachadotdev/canadamaps |
Geometries for each Census Division (CD)
census_divisions
census_divisions
A data frame
with 293 observations and 6 variables.
cduid
: Census division number.
cdname
: Census division name.
cdname
: Census division type (i.e. see
the README in the GitHub repository).
pruid
: Province number.
prname
: Province name.
geometry
: Census division shape.
Adapted from official Canadian Census shapefiles.
Geometries for each Federal Electoral District (FED)
federal_electoral_districts
federal_electoral_districts
A data frame
with 338 observations and 5 variables.
feduid
: Census division number.
fedname
: Federal electoral district name.
pruid
: Province number.
prname
: Province name.
geometry
: Federal electoral district shape.
Adapted from official Canadian Census shapefiles.
This function aggregates the Census Divisions (CD) map to provide the Census Agricultural Region (CAR) map. The idea is to avoid providing a dataset with map that can be obtained as an aggregation of another.
get_agricultural_divisions(map = census_divisions)
get_agricultural_divisions(map = census_divisions)
map |
which map to add, by default it takes the complete Census Divisions (CD) map |
a tibble with economic regions, provinces and geometry (multipolygon) fields.
get_agricultural_divisions( census_divisions[census_divisions$prname == "Ontario", ] )
get_agricultural_divisions( census_divisions[census_divisions$prname == "Ontario", ] )
This function aggregates the Census Divisions (CD) map to provide the Economic Region (ER) map. The idea is to avoid providing a dataset with map that can be obtained as an aggregation of another.
get_economic_regions(map = census_divisions)
get_economic_regions(map = census_divisions)
map |
which map to add, by default it takes the complete Census Divisions (CD) map |
a tibble with economic regions, provinces and geometry (multipolygon) fields.
get_economic_regions( census_divisions[census_divisions$prname == "Ontario", ] )
get_economic_regions( census_divisions[census_divisions$prname == "Ontario", ] )
This function aggregates the Census Divisions (CD) map to provide the Province map. The idea is to avoid providing a dataset with map that can be obtained as an aggregation of another.
get_provinces(map = census_divisions)
get_provinces(map = census_divisions)
map |
which map to add, by default it takes the complete Census Divisions (CD) map |
a tibble with provinces and geometry (multipolygon) fields.
get_provinces( census_divisions[census_divisions$prname == "Ontario", ] )
get_provinces( census_divisions[census_divisions$prname == "Ontario", ] )
Project an sf object to the Lambert Conformal Conic projection
lambert_projection(tbl, crs_string = NULL)
lambert_projection(tbl, crs_string = NULL)
tbl |
an sf object |
crs_string |
a character string specifying the projection |
an sf object