Description Usage Arguments Value Examples
View source: R/check_coverage.R
Checks if multiple points fall within Citymapper's covered areas. Multiple inputs can be passed in a vector or list format. It is good practice to refresh this values regularly as covered areas might change over time.
1 | check_coverage(points, api_token = Sys.getenv("CITYMAPPER_API_TOKEN"))
|
points |
List or vector containing geographical coordinates of the start point
in WGS84 |
api_token |
Citymapper's api key (chr). |
A vector containing boolean responses for each point in points
1 2 3 4 5 6 | ## Not run:
point <- "41.889083,12.470514"
check_coverage(point)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.