Learn R Programming

bcmaps (version 1.0.0)

bc_cities: BC Major Cities Points

Description

BC Major Cities Points

Usage

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

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?

Value

The spatial layer of bc_cities in the desired class

Examples

Run this code
# NOT RUN {
my_layer <- bc_cities()
my_layer_sp <- bc_cities(class = 'sp')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab