get_alc_drug_impaired_person | R Documentation |
This looks to see if a person was suspected of alcohol or drug use.
get_alc_drug_impaired_person(
person_df,
driver_only = "N",
include_alc = "Y",
include_drug = "Y"
)
person_df |
person df |
driver_only |
Select for driver flag as driver only ("Y" or"N") |
include_alc |
Select to include suspected alcohol ("Y" or"N") |
include_drug |
Select to include suspected drug ("Y" or"N") |
A new column called drug_flag or alcohol_flag. Values are "Y","N", and "U" for unknowm. If driver_only = "Y", then only drivers will return.
## Not run: get_alc_drug_impaired_person(person17, include_alc = "N")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.