powered by
BC Major Cities Points
bc_cities(class = "sf", ask = interactive(), force = FALSE)
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?
The spatial layer of bc_cities in the desired class
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