get_regions: Get health regions

View source: R/regions.R

get_regionsR Documentation

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)

Arguments

hr_uid

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

province

One or more provinces to return.

Value

A data frame with a row per health region.

Examples


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

canadacovid documentation built on Aug. 23, 2022, 1:06 a.m.