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.
check_coverage(points, api_token = Sys.getenv("CITYMAPPER_API_TOKEN"))
Arguments
points |
List or vector containing geographical coordinates of the start point
in WGS84 '<latitude>,<longitude>' format. |
---|
api_token |
Citymapper's api key (chr). |
---|
Value
A vector containing boolean responses for each point in points
Examples
if (FALSE) {
point <- "41.889083,12.470514"
check_coverage(point)
}