View source: R/get_hystreet_station_data.R
get_hystreet_station_data | R Documentation |
Get data from a specific location from the Hystreet Project via Hystreet API
get_hystreet_station_data( hystreetId = NULL, query = NULL, no_metadata = FALSE, API_token = NULL )
hystreetId |
integer (required): ID of the requested station. See |
query |
list (optional): A list with queries. Up do date the following queries are supported:
|
no_metadata |
logical (optional): If set to |
API_token |
character (optional): API key to get access to Hystreet API |
data.frame with parsed data from hystreet API
0.0.3
Johannes Friedrich, Yannik Buhl
## Not run: ## request data of the current day of station with hystreetId 71 get_hystreet_station_data(71) ## request data of December 2018 with resolution "day" get_hystreet_station_data( hystreetId = 71, query = list(from = "2018-12-01", to = "2018-12-31", resolution = "day")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.