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