mz_date_time: Create mz_date_time objects

Description Usage Arguments

View source: R/matrix-helpers.R

Description

Mobility services (such as mz_isochrone) take, optionally, a date_time argument that specifies the date and time along with type (departure/arrival). This function constructs the appropriate objects to use as date_time arguments.

Usage

1
mz_date_time(date_time, type = "departure")

Arguments

date_time

A POSIXt date-time object

type

"departure" or "arrival"


tarakc02/rmapzen documentation built on Oct. 8, 2018, 12:20 a.m.