Learn R Programming

bcmaps (version 1.0.0)

ecoregions: British Columbia Ecoregions

Description

British Columbia Ecoregions

Usage

ecoregions(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 ecoregions in the desired class

Examples

Run this code
# NOT RUN {
my_layer <- ecoregions()
my_layer_sp <- ecoregions(class = 'sp')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab