make_shortcuts {bcmaps}R Documentation

Make shortcut functions for data objects in bcmaps from B.C. Data Catalogue

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

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

## Not run: 
make_shortcut()

## End(Not run)


[Package bcmaps version 1.0.2 Index]