Converts raw counts to either percentage or proportion formats.
mv_reformat(.data, statistic, format, output = "long")
.data | A tbl created with |
---|---|
statistic | The statistic to reformat |
format | Either |
output | Either |
A tibble with the reformatted data
The statistics that can be reformatted are as follows:
"Stops"
or "Stop Rate"
"Searches"
or "Search Rate"
"Arrests"
or "Arrest Rate"
"Contraband"
, "Hit Rate"
, or "Contraband Hit Rate"