Skip to contents

Calculate the duration of a survey

Usage

survey_duration(.tbl, start, end, new_colname = "survey_duration")

Arguments

.tbl

A tibble

start

Start column name

end

End column name

new_colname

The new column name of the time duration

Value

A tibble with three new colums, including the duration of survey in minutes

Details

Note: it is necessary to have 'start' and 'end' columns