powered by
British Columbia Ecoregions
ecoregions(class = "sf", ask = interactive(), force = FALSE)
The spatial layer of ecoregions in the desired class
ecoregions
what class you want the object in? "sf" (default) or "sp".
"sf"
"sp"
Should the function ask the user before downloading the data to a cache? Defaults to the value of interactive().
Should you force download the data?
if (FALSE) { my_layer <- ecoregions() my_layer_sp <- ecoregions(class = 'sp') }
Run the code above in your browser using DataLab