Man pages for jacciz/wisdotcrashdatabase
A package used for internal WisDOT crash database pulls and analysis

aggregate_crashes_by_crshsvr_tot_injSummary table of crashes and people
convert_time_to_hmsConvert CRSHTIME to time format (new db)
convert_to_datetimeGet datetime from date and time columns
count_crash_flagsGet crash count by crash flags
county_renameGet full county name
crash_helpersHelper functions for colors and factors
factor_crash_variablesFactor variables
find_countycode_fipsFind county code and fips
find_municipality_codesFind municode by municipality
find_person_flagAggregate crash flag to the crash level
get_age_groupsBin age groups by 5 or 10 years (old and new db)
get_alc_drug_impaired_personGet flag for a suspected alcohol or drug person (old and new...
get_crash_flagsGet driver flags - deer, crash location, lane departure,...
get_crash_locationFind location of crash
get_crash_timesGet crash hour (new db)
get_deerflag_crashesGet flag for deer crashes (old and new db)
get_driver_flagsGet driver flags - speed, impaired, distracted, aggressive,...
get_lanedeparture_crashesGet flag for lane departure crashes (new db)
get_list_of_yearsGet a list of all years in between two years
get_motorcycle_personsGet motorcyclists (old and new db)
get_seatbelt_flag_by_unitGet seatbelt flag (old and new db)
import_db_dataImport crash, vehicle, person from crash database
import_narrativeImport crash narratives
munilookup for municode
persons_flags_to_crashExtract person flags and get to the crash level
relabel_person_variablesRelabels WISINJ and ROLE in person
relabel_vehicle_variablesRelabels vehtype
select_bike_ped_personsSelect pedestrians or cyclists (old and new db)
jacciz/wisdotcrashdatabase documentation built on June 3, 2023, 2:26 a.m.