census_metropolitan_area {bcmaps}R Documentation

Current Census Metropolitan Areas

Description

Current Census Metropolitan Areas

Usage

census_metropolitan_area(class = "sf", ask = interactive(), force = FALSE)

Arguments

class

what class you want the object in? "sf" (default) or "sp".

ask

Should the function ask the user before downloading the data to a cache? Defaults to the value of interactive().

force

Should you force download the data?

Value

The spatial layer of census_metropolitan_area in the desired class

Source

bcdata::bcdc_get_data(record = 'a6fb34b7-0937-4718-8f1f-43dba2c0f407', resource = 'f129a965-363e-4d7e-8319-a4010e002fdb')

Examples

## Not run: 
my_layer <- census_metropolitan_area()
my_layer_sp <- census_metropolitan_area(class = 'sp')

## End(Not run)


[Package bcmaps version 1.0.2 Index]