find_person_flag: Aggregate crash flag to the crash level

View source: R/helper_functions.R

find_person_flagR Documentation

Aggregate crash flag to the crash level

Description

Aggregate crash flag to the crash level

Usage

find_person_flag(persons_df, flag)

Arguments

persons_df

person dataframe

flag

c("speed_flag", "distracted_flag", "teendriver_flag", "olderdriver_flag", "impaired_flag", "seatbelt_flag")

Value

df of crshnmbr and flag (=="Y")


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