Learn R Programming

bcmaps (version 1.0.3)

bc_cities: BC Major Cities Points

Description

BC Major Cities Points

Usage

bc_cities(class = "sf", ask = interactive(), force = FALSE)

Value

The spatial layer of bc_cities in the desired class

Arguments

class

what class you want the object in? "sf" (default) or "sp".

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_cities()
my_layer_sp <- bc_cities(class = 'sp')
}

Run the code above in your browser using DataLab