powered by
BC Major Cities Points
bc_cities(class = "sf", ask = interactive(), force = FALSE)
The spatial layer of bc_cities in the desired class
bc_cities
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 <- bc_cities() my_layer_sp <- bc_cities(class = 'sp') }
Run the code above in your browser using DataLab