unit | R Documentation |
Download data from the units ("unidades") table of the
Data Repository of the Brazilian Soil. 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()
.
unit(source, target)
source |
(optional) Character vector indicating one or more source measurement units. |
target |
(optional) Character vector indicating one or more target measurement units. |
A data.frame with source and target measurement units and their corresponding conversion factors.
Alessandro Samuel-Rosa alessandrosamuelrosa@gmail.com
Teixeira, P. C., Donagemma, G. K., Fontana, A., Teixeira, W. G. (2017) Manual de Métodos de Análise de Solo. Brasília: Embrapa.
The unit table at https://docs.google.com/spreadsheets/d/1tU4Me3NJqk4NH2z0jvMryGObSSQLCvGqdLEL5bvOflo
#res <- unit(source = c("%", "dag/kg"), target = "g/kg") #res
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.