% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/output_trips.R
\name{process_convert_time}
\alias{process_convert_time}
\title{Converts a time column to a numeric representation of minutes, hours or seconds}
\usage{
process_convert_time(
  trips_table,
  time_format = "hour",
  time_column = "dep_time"
)
}
\arguments{
\item{trips_table}{tibble of output_trips (from \link{read_output_trips})}

\item{time_format}{character, defines time unit to be used ("hour", "minute", "second")}

\item{time_column}{character, name of the column to be converted (\strong{dep_time}, \strong{trav_time}, \strong{wait_time})}
}
\value{
tibble, containing the converted column with specified time format
}
\description{
The default output_trips time columns(\strong{dep_time}, \strong{trav_time}, \strong{wait_time}) are in 'hms' format.
To convert this type to numeric, specify \strong{time_column} to be converted as well as the \strong{time_format}.
Acceptable units are "hour", "minute" and "second".
}
