unit: Get _unit_ table

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/unit.R

Description

Download data from the unit ("unidade") 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

1
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.

Author(s)

Alessandro Samuel-Rosa [email protected]

References

Teixeira, P. C., Donagemma, G. K., Fontana, A., Teixeira, W. G. (2017) Manual de Métodos de Análise de Solo. Brasília: Embrapa.

See Also

The unit table at https://goo.gl/Vvvsf2

Examples

1
2
res <- unit(source = c("%", "dag/kg"), target = "g/kg")
res

samuel-rosa/febr documentation built on Nov. 16, 2018, 1:56 a.m.