wrangle_risk: Wrangle Risk

View source: R/wrangle_risk.R

wrangle_riskR Documentation

Wrangle Risk

Description

Wrangles an input risk data frame and prepares it for use by the the reporting functions in this package.

Usage

wrangle_risk(db_risk, active = TRUE)

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.

Value

A formatted data frame suitable for use by the report functions.

Examples

# Get test data
db_risk <- rarr::db_risk

# Format risk
risk <- wrangle_risk(db_risk)


MVR-GIS/rarr documentation built on March 4, 2023, 11:47 p.m.