These datasets are provided for managing units within the loadflex package. It is recommended NOT to use these datasets directly within your code, as they may change structure or contents in the future.
Datasets
valid.metadata.unitsA data.frame with character columns "unit", "standard", and "dimension". Used (1) to determine whether units in slots of a `metadata` object have the appropriate dimensionality; e.g.,
conc.unitsmust have dimensions of mass or count per volume, and (2) to convert among units of the same dimensionality.freeform.unit.translationsA data.frame with character columns "new" and "old". Used for mapping freeform units ("old") to the specific format required by loadflex ("new").
unit.conversionsA data.frame with character columns "numerator", "denominator", and numeric column "value", one conversion per row. Used for converting among