mz_date_time: Create mz_date_time objects

View source: R/matrix-helpers.R

mz_date_timeR Documentation

Create mz_date_time objects

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

mz_date_time(date_time, type = "departure")

Arguments

date_time

A POSIXt date-time object

type

"departure" or "arrival"


rmapzen documentation built on Oct. 17, 2023, 5:06 p.m.