R/osm_delete_gpx.R

Defines functions osm_delete_gpx

Documented in osm_delete_gpx

# Vectorized version of .osm_delete_gpx()

#' Delete GPS traces
#'
#' Use this to delete GPX files. Only usable by the owner account. Requires authentication.
#'
#' @param gpx_id The track ids represented by a numeric or a character vector.
#'
#' @return Returns `NULL` invisibly.
#' @family edit GPS traces' functions
#' @export
#'
#' @examples
#' vignette("how_to_edit_gps_traces", package = "osmapiR")
osm_delete_gpx <- function(gpx_id) {
  lapply(gpx_id, .osm_delete_gpx)

  invisible()
}

Try the osmapiR package in your browser

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

osmapiR documentation built on April 15, 2025, 9:06 a.m.