get_seatbelt_flag_by_unit | R Documentation |
Finds if a person in a unit was not wearing a seatbelt inside a motor vehicle. For example, a passenger not wearing a seatbelt, every person in that unit would get a seat belt flag. This includes the driver and other passengers, if any. Need SFTYEQP.
get_seatbelt_flag_by_unit(person_df)
person_df |
person df |
A new column seatbelt_flag ("Y" or "N")
## Not run: get_seatbelt_flag_by_unit(person17)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.