get_provinces: Canadian Map at Province (ER) Level

View source: R/get_provinces.R

get_provincesR Documentation

Canadian Map at Province (ER) Level

Description

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.

Usage

get_provinces(map = census_divisions)

Arguments

map

which map to add, by default it takes the complete Census Divisions (CD) map

Value

a tibble with provinces and geometry (multipolygon) fields.

Examples

get_provinces(
  census_divisions[census_divisions$prname == "Ontario", ]
)

pachadotdev/canadamaps documentation built on March 25, 2024, 1:57 p.m.