Learn R Programming

bcmaps (version 1.2.0)

ecoregions: British Columbia Ecoregions

Description

British Columbia Ecoregions

Usage

ecoregions(class = deprecated(), ask = interactive(), force = FALSE)

Value

The spatial layer of ecoregions in the desired class

Arguments

class

what class you want the object in? "sf" (default) or "sp". [Deprecated]. The class argument is deprecated as of bcmaps 1.2.0 and will be removed in Summer 2023. At that point this function will only return an sf object.

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?

Examples

Run this code
if (FALSE) {
my_layer <- ecoregions()
}

Run the code above in your browser using DataLab