R/faceter.R

Defines functions faceter

#' helper function for adding facets to faceted function
#'
#' @param ...
#' @return returns a string of formated values
#' @examples
#'
#'\dontrun{
#'
#' faceter(country="US",taxonkey="212")
#'
#'}
#'


faceter = function(L) {
  facets = names(L) %+% "=" %+% unlist(L)
  facets = "&" %+% paste(facets,collapse="&")
  return(facets)
}
jhnwllr/gbifapi documentation built on April 30, 2022, 12:55 p.m.