Description Usage Arguments Value Examples
View source: R/get_provinces.R
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.
1 | 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.
1 2 3 | get_provinces(
census_divisions[census_divisions$prname == "Ontario",]
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.