R/get_hystreet_locations.R

Defines functions get_hystreet_locations

Documented in get_hystreet_locations

#' Get station IDs of the Hystreet project
#'
#' @param API_token [character] (**optional**): API key to get access to Hystreet API
#' 
#' @return [data.frame] with parsed data from hystreet API
#'
#' @section Function version:
#'  0.0.2
#' @author Johannes Friedrich
#' 
#' @examples
#' \dontrun{
#'  get_hystreet_locations()
#' }
#' @md
#' @export

get_hystreet_locations <- function(API_token = NULL){
  
  
  res <- .create_hystreet_request(API_token)
  
  return(res[,1:3])

}

Try the hystReet package in your browser

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

hystReet documentation built on Nov. 27, 2022, 5:05 p.m.