Wrangles an input risk data frame and prepares it for use by the the reporting functions in this package.
Arguments
- db_risk
data frame; A standard risk table.
- active
logical; Return only active records? TRUE returns active records, FALSE returns inactive records. Default = TRUE.
Examples
# Get test data
db_risk <- rarr::db_risk
# Format risk
risk <- wrangle_risk(db_risk)