Learn R Programming

canadacovid (version 0.3.4)

get_subregions: Get sub-regions

Description

Returns a list of sub-regions in the COVID-19 tracker. By default, returns all 805 sub-regions.

Usage

get_subregions(subregion_code = NULL)

Value

A data frame with a row per sub-region.

Arguments

subregion_code

One or more sub-regions to be returned.

Examples

Run this code

get_subregions()
get_subregions("AB001")
get_subregions(c("SK003", "SK005"))

Run the code above in your browser using DataLab