readFEBR: Get soil data

View source: R/readFEBR.R

readFEBRR Documentation

Get soil data

Description

Download soil data from one or more data sets published in the Data Repository of the Brazilian Soil.

Usage

readFEBR(
  data.set,
  data.table = c("identificacao", "versionamento", "metadado", "observacao", "camada"),
  febr.repo = NULL,
  verbose = TRUE,
  ...
)

Arguments

data.set

Character vector indicating the identification code of one or more data sets. Use data.set = "all" to download all data sets.

data.table

Character vector indicating one or more data tables, with supported values "identificacao", "versionamento", "metadado", "observacao", and "camada".

febr.repo

(optional) Defaults to the remote file directory of the Federal University of Technology - Paraná at https://cloud.utfpr.edu.br/index.php/s/Df6dhfzYJ1DDeso. Alternatively, a local directory path can be informed if the user has a local copy of the data repository.

verbose

(optional) Logical value indicating if informative messages should be displayed. Generally useful to identify issues—please report to febr-forum@googlegroups.com if you find any.

...

(optional) Arguments passed to data.table::fread().

Value

A list of data tables (data frames) with data from the chosen data sets.

Author(s)

Alessandro Samuel-Rosa alessandrosamuelrosa@gmail.com

Examples

res <- readFEBR(data.set = "ctb0003")

febr-team/febr-package documentation built on April 22, 2022, 7:45 p.m.