Learn R Programming

febr (version 1.0.3)

unit: Get units table

Description

Download data from the units ("unidades") table of the Free Brazilian Repository for Open Soil Data -- febr, http://www.ufsm.br/febr. This includes measurement units and conversion factors. This is used to standardize the data contained in a dataset when downloading it via layer or observation.

Usage

unit(source, target)

Arguments

source

(optional) Character vector indicating one or more source measurement units.

target

(optional) Character vector indicating one or more target measurement units.

Value

A data.frame with source and target measurement units and their corresponding conversion factors.

References

Teixeira, P. C., Donagemma, G. K., Fontana, A., Teixeira, W. G. (2017) Manual de M<U+00E9>todos de An<U+00E1>lise de Solo. Bras<U+00ED>lia: Embrapa.

See Also

The unit table at https://docs.google.com/spreadsheets/d/1tU4Me3NJqk4NH2z0jvMryGObSSQLCvGqdLEL5bvOflo

Examples

Run this code
# NOT RUN {
res <- unit(source = c("%", "dag/kg"), target = "g/kg")
res
# }

Run the code above in your browser using DataLab