Learn R Programming

febr (version 1.9.9)

readFEBR: 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<U+00E1> 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<U+2014>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.

Examples

Run this code
# NOT RUN {
res <- readFEBR(data.set = "ctb0003")
# }

Run the code above in your browser using DataLab