Learn R Programming

tidytransit (version 0.5.1)

set_hms_times: Add hms::hms columns to feed

Description

Adds columns to stop_times (arrival_time_hms, departure_time_hms) and frequencies (start_time_hms, end_time_hms) with times converted with hms::hms().

Usage

set_hms_times(gtfs_obj)

Arguments

gtfs_obj

a gtfs object in which hms times should be set, the modified gtfs_obj is returned

Value

gtfs_obj with added hms times columns for stop_times and frequencies