todTable: Function to create time of day (TOD) data.table

Description Usage Arguments Value

View source: R/timeFormatting.R

Description

Function to create time of day (TOD) data.table

Usage

1
2
3
4
5
6
7
8
9
todTable(
  earlyStart = 14400,
  AMPeakStart = 21600,
  MiddayStart = 32400,
  PMPeakStart = 54000,
  EveningStart = 66600,
  NightStart = 75600,
  NightEnd = 86400
)

Arguments

earlyStart

integer seconds past midnight at which the early period starts

AMPeakStart

integer seconds past midnight at which the AMPeak period starts

MiddayStart

integer seconds past midnight at which the midday period starts

PMPeakStart

integer seconds past midnight at which the PMPeak period starts

EveningStart

integer seconds past midnight at which the evening period starts

NightStart

integer seconds past midnight at which the night period starts

NightEnd

integer seconds past midnight at which the night period starts

Value

character column or single character in character "HH:MM:SS" format


b-tomhave/gtfsFunctions documentation built on Dec. 19, 2021, 6:37 a.m.