R/make_shortcuts.R
make_shortcuts.Rd
This generates a shortcuts.R
file in the R
directory, with function definitions
and roxygen blocks for each data object in scotmaps
. This ensures that each
data object can be accessed directly from scotmaps
by a
function such as community_councils()
, or local_authorities()
.
make_shortcuts(file = "R/shortcuts.R")
the R file where the shortcut file is. Default "R/shortcuts.R"
TRUE (invisibly)
Run this function each time you add a new data object.
if (FALSE) {
make_shortcut()
}