metadata: Get 'metadata' table

View source: R/metadata.R

metadataR Documentation

Get 'metadata' table

Description

Download data from the 'metadata' ("metadado") table of one or more datasets published in the Data Repository of the Brazilian Soil. This table includes data such as variable names, description of analytical methods, and identification of analysis laboratories.

Usage

metadata(data.set, progress = TRUE, verbose = TRUE, febr.repo = NULL)

Arguments

data.set

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

progress

(optional) Logical value indicating if a download progress bar should be displayed.

verbose

(optional) Logical value indicating if informative messages should be displayed. Generally useful to identify datasets with inconsistent data. Please report to febr-forum@googlegroups.com if you find any issue.

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.

Value

A list of data frames or a data frame with metadata of the chosen dataset(s).

Note

Check the new core data download function readFEBR().

Author(s)

Alessandro Samuel-Rosa alessandrosamuelrosa@gmail.com

Examples


# res <- metadata(data.set = c("ctb0003", "ctb0020"))
res <- metadata(data.set = c("ctb0003", "ctb0002"))


febr documentation built on March 18, 2022, 5:57 p.m.