View source: R/get_crash_times.R
get_crash_times | R Documentation |
Adds a new column that gives crash hour. For new db, NA are "Unk."
get_crash_times(
dataframe,
time_column = "CRSHTIME",
colname = "newtime",
combine_with_old = FALSE
)
dataframe |
dataframe |
time_column |
Time column |
colname |
name of new column, "newtime" |
combine_with_old |
combines newtime with old db |
A new column called newtime with crash hour. i.e. "12am"
## Not run: get_crash_times(crash17)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.