Learn R Programming

febr (version 1.0.3)

febr: Get all dataset tables

Description

Download data from the dataset ("dataset"), observation ("observacao"), layer ("camada"), and metadata ("metadado") tables of a dataset contained in the Free Brazilian Repository for Open Soil Data -- febr, http://www.ufsm.br/febr.

Usage

febr(dataset, merge = FALSE, 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.

merge

(optional) Logical value indicating if the observation ("observacao") and layer ("camada") tables should be merged. Defaults to merge = FALSE. See merge for more details.

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.

...

(optional) Arguments passed to observation and layer.

Value

A list of data frames with data on the chosen dataset.

Details

Character vector indicating one dataset. The identification code should be as recorded in http://www.ufsm.br/febr/catalog/.

See Also

dataset, observation, layer, metadata

Examples

Run this code
# NOT RUN {
res <- febr(dataset = "ctb0003", merge = TRUE, variable = "all")
str(res)
# }

Run the code above in your browser using DataLab