powered by
You must have the bcmapsdata package installed to use this function.
bcmapsdata
nr_regions(class = "sf")
what class you want the object in? "sf" (default) or "sp".
"sf"
"sp"
The spatial layer of nr_regions in the desired class
nr_regions
Type ?bcmapsdata::nr_regions for details.
?bcmapsdata::nr_regions
# NOT RUN { my_layer <- nr_regions() my_layer_sp <- nr_regions(class = 'sp') # } # NOT RUN { # }
Run the code above in your browser using DataLab