| station {hereR} | R Documentation | 
HERE Public Transit API: Find Stations Nearby
Description
Retrieve stations with the corresponding line information around given locations using the HERE 'Public Transit' API.
Usage
station(poi, radius = 500, results = 50, url_only = FALSE)
Arguments
| poi | 
 | 
| radius | numeric, the search radius in meters ( | 
| results | numeric, maximum number of suggested public transport stations (Valid range: 1 and 50,  | 
| url_only | boolean, only return the generated URLs ( | 
Value
An sf object containing the requested stations with the corresponding line information.
References
HERE Public Transit API: Station Search
Examples
# Provide an API Key for a HERE project
set_key("<YOUR API KEY>")
# Stations
stations <- station(poi = poi, url_only = TRUE)
[Package hereR version 1.0.0 Index]