make_shortcuts: Make shortcut functions for data objects in bcmaps from B.C....

Description Usage Arguments Details Value Examples

View source: R/make_shortcuts.R

Description

This generates a shortcuts.R file in the R directory, with function definitions and roxygen blocks for each data object in bcmaps. This ensures that each data object can be accessed directly from bcmaps by a function such as bc_bound(), or airzones("sp").

Usage

1
make_shortcuts(file = "R/shortcuts.R")

Arguments

file

the R file where the shortcut file is. Default "R/shortcuts.R"

Details

Run this function each time you add a new data object.

Value

TRUE (invisibly)

Examples

1
2
3
4
## Not run: 
make_shortcut()

## End(Not run)

bcmaps documentation built on March 10, 2021, 1:06 a.m.