get_mapbox_isochrone: Obtain a drive time isochrone from mapbox.com

View source: R/get-mapbox-isochrone.R

get_mapbox_isochroneR Documentation

Obtain a drive time isochrone from mapbox.com

Description

Obtain a drive time isochrone from mapbox.com

Usage

get_mapbox_isochrone(
  df,
  id,
  long,
  lat,
  contours_minutes,
  base_url = "https://api.mapbox.com/",
  mapbox_token = ""
)

Arguments

df

The data frame with id, latitude and longitude

id

The ID variable name for the created isochrone

long

The longitude variable name

lat

The latitude variable name

contours_minutes

Drive time minutes to define boundary of isochrone (must be 60 or less)

base_url

The mapbox base url.

mapbox_token

Your mapbox API token


graveja0/hcmarket documentation built on May 24, 2022, 6:28 p.m.