canadacovid (version 0.3.4)

get_regions: Get health regions

Description

Returns a list of health regions in the COVID-19 tracker. By default (hr_uid and province NULL), returns all 92 regions.

Usage

get_regions(hr_uid = NULL, province = NULL)

Value

A data frame with a row per health region.

Arguments

hr_uid

One or more health region UIDs (e.g. 3553) to return.

province

One or more provinces to return.

Examples

Run this code

get_regions()
get_regions(hr_uid = c("2414", 591))
get_regions(province = c("ns", "SK"))

Run the code above in your browser using DataLab