Learn R Programming

febr (version 1.0.1)

metadata: Get metadata table

Description

Download data from the metadata ("metadado") table of one or more datasets contained in the Free Brazilian Repository for Open Soil Data -- febr, http://www.ufsm.br/febr. This includes variable names, description of analytical methods, and identification of analysis laboratories.

Usage

metadata(dataset, progress = TRUE, verbose = TRUE)

Arguments

dataset

Character vector indicating one or more datasets. Identification codes should be as recorded in http://www.ufsm.br/febr/catalog/. Use dataset = "all" to download all datasets.

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.

Value

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

Examples

Run this code
# NOT RUN {
res <- metadata(dataset = "ctb0003")
head(res)
# }

Run the code above in your browser using DataLab