Learn R Programming

canadacovid (version 0.3.4)

get_provinces: Get provinces and territories

Description

Get provinces and territories

Usage

get_provinces(geo_only = TRUE)

Value

A data frame with a row per province/territory.

Arguments

geo_only

Logical, indicating if only provinces/territories should be returned. If FALSE, also returned non-geographic entities like Repatriated Canadians and the Federal Allocation for vaccinations.

Examples

Run this code

get_provinces()
get_provinces(geo_only = FALSE)

Run the code above in your browser using DataLab