Returns the existing <time_col>_secs column as-is when the table has one
(other functions use these columns as-is, see convert_time_to_seconds())
and converts the time strings otherwise. The vector returned may be the
table's own column, so callers must only read it or put it in a new table.
time_secs(dt, time_col)An integer (or, from an existing column, possibly double) vector of seconds after midnight.
A data.table with a time column (e.g. stop_times).
The name of the time string column (e.g.
"departure_time").