time_map_fast {traveltimeR}R Documentation

Isochrones (Time Map) Fast

Description

A very fast version of Isochrone API. However, the request parameters are much more limited.

Usage

time_map_fast(
  arrival_many_to_one = NULL,
  arrival_one_to_many = NULL,
  format = NULL
)

Arguments

arrival_many_to_one

One or more objects created by make_search

arrival_one_to_many

One or more objects created by make_search

format

time-map response format. See https://docs.traveltime.com/api/reference/isochrones-fast#Response-Body for details.

Details

See https://docs.traveltime.com/api/reference/isochrones-fast/ for details

Value

API response parsed as a list and as a raw json

Examples

## Not run: 

arrival_search <-
  make_search(id = "public transport to Trafalgar Square",
              travel_time = 900,
              coords = list(lat = 51.507609, lng = -0.128315),
              arrival_time_period = "weekday_morning",
              transportation = list(type = "public_transport"))

result <-
  time_map_fast(
    arrival_many_to_one = arrival_search
  )

## End(Not run)

[Package traveltimeR version 1.2.1 Index]