Learn R Programming

bcmaps (version 1.2.0)

bc_neighbours: Boundary of British Columbia, provinces/states and the portion of the Pacific Ocean that borders British Columbia

Description

Boundary of British Columbia, provinces/states and the portion of the Pacific Ocean that borders British Columbia

Usage

bc_neighbours(class = deprecated(), ask = interactive(), force = FALSE)

Value

The spatial layer of bc_neighbours in the desired class

Arguments

class

what class you want the object in? "sf" (default) or "sp". [Deprecated]. The class argument is deprecated as of bcmaps 1.2.0 and will be removed in Summer 2023. At that point this function will only return an sf object.

ask

Should the function ask the user before downloading the data to a cache? Defaults to the value of interactive().

force

Should you force download the data?

Examples

Run this code
if (FALSE) {
my_layer <- bc_neighbours()
}

Run the code above in your browser using DataLab