powered by
Boundary of British Columbia, provinces/states and the portion of the Pacific Ocean that borders British Columbia
bc_neighbours(class = "sf", ask = interactive(), force = FALSE)
The spatial layer of bc_neighbours in the desired class
bc_neighbours
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_neighbours() my_layer_sp <- bc_neighbours(class = 'sp') }
Run the code above in your browser using DataLab