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