process_convert_time | R Documentation |
The default output_trips time columns(dep_time, trav_time, wait_time) are in 'hms' format. To convert this type to numeric, specify time_column to be converted as well as the time_format. Acceptable units are "hour", "minute" and "second".
process_convert_time(
trips_table,
time_format = "hour",
time_column = "dep_time"
)
trips_table |
tibble of output_trips (from read_output_trips) |
time_format |
character, defines time unit to be used ("hour", "minute", "second") |
time_column |
character, name of the column to be converted (dep_time, trav_time, wait_time) |
tibble, containing the converted column with specified time format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.