convert_time_to_hms: Convert CRSHTIME to time format (new db)

View source: R/get_crash_times.R

convert_time_to_hmsR Documentation

Convert CRSHTIME to time format (new db)

Description

Adds a column that formats time to hour:minute

Usage

convert_time_to_hms(dataframe, crshtime = "CRSHTIME", colname = "crsh_time")

Arguments

dataframe

a dataframe

crshtime

column of time to convert from character to hsm, CRSHTIME

colname

name of new column, i.e. "crsh_time"

Value

A new column called crsh_time in format "01:01"

Examples

## Not run: convert_time_to_hms(crash)

jacciz/wisdotcrashdatabase documentation built on June 3, 2023, 2:26 a.m.