Download header data (column names and measurement units) from the layer ("camada") or observation
("observacao") table of one or more datasets contained in the Free Brazilian Repository for Open Soil Data
-- FEBR, https://www.pedometria.org/febr/. This is useful to check what are the variables
contained in a dataset before downloading it via layer
or
observation
.
header( dataset, table, variable, stack = FALSE, progress = TRUE, verbose = TRUE )
dataset | Character vector indicating one or more datasets. Use |
---|---|
table | Character string indicating a table, i.e. the layer table, |
variable | (optional) Character vector indicating one or more variables. Accepts only general
identification codes, e.g. |
stack | (optional) Logical value indicating if tables from different datasets should be stacked on a
single table for output. Requires |
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. |
A list of data frames or a data frame with table header data (column names and measurement units) on the chosen variable(s) of the chosen dataset(s).
table
. See documentation of
layer
and observation
.