R/faceted_qc_plot.R
format_unit_string.Rd
Formats a unit string if a unique unit exists
format_unit_string(data, unit_var)
The data frame to check.
The column name of the unit variable.
A formatted string like " (hr)" or an empty string "".