View source: R/wrangle_rel_risk_dec.R
wrangle_rel_risk_dec | R Documentation |
Wrangles an input 'rel_risk_dec' data frame and prepares it for use by the the reporting functions in this package.
wrangle_rel_risk_dec(db_rel_risk_dec, active = TRUE)
db_rel_risk_dec |
data frame; A standard 'rel_risk_dec' data frame. |
active |
logical; Return only active records? TRUE returns active records, FALSE returns inactive records. Default = TRUE. |
A formatted data frame suitable for use by the report functions.
# Get test data db_rel_risk_dec <- rarr::db_rel_risk_dec # Format rel_risk_dec rel_risk_dec <- wrangle_rel_risk_dec(db_rel_risk_dec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.