R/tag.R

Defines functions tag

Documented in tag

#' Tag data
#'
#' @param tag A tag name
#' @template args
#' @examples \dontrun{
#' tag('r')
#' tag('geospatial')
#' }
tag <- function(tag, ...) {
  disc_GET(sprintf("tags/%s.json", tag), ...)
}
sckott/discgolf documentation built on March 10, 2021, 5:30 p.m.