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