R/data.R

#' Precomputed example ggmap
#'
#' This is a precomputed ggmap for running_example.gpx, to avoid needing an
#' API key in vignettes, which `get_ggmap_from_df()` requires.
#'
#' This is the result of running:
#'
#' ```
#' running_file <- system.file(
#'   "extdata",
#'   "running_example.gpx",
#'   package = "activatr")
#' running_df <- parse_gpx(running_file)
#' running_example_ggmap <- get_ggmap_from_df(running_df)
#' ```
#'
#' after setting a valid API key.
#'
#' @keywords internal
"running_example_ggmap"

Try the activatr package in your browser

Any scripts or data that you put into this service are public.

activatr documentation built on Aug. 22, 2023, 9:12 a.m.