relabel_vehicle_variables: Relabels vehtype

View source: R/get_crashflags_vehicle.R

relabel_vehicle_variablesR Documentation

Relabels vehtype

Description

Relabels VEHTYPE into 9 categories or get CMV vehicles. CMV needs TKBSCFG TKBSCFG. Large trucks are not always a CMV and vice versa.

Usage

relabel_vehicle_variables(vehicle_df, relabel_by = "vehtype")

Arguments

vehicle_df

vehicle dataframe

relabel_by

select either/all ("vehtype", "cmv)

Value

df with veh or cmv colnames

Examples

## Not run: relabel_vehicle_variables(vehicle)

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