febr2spdf: Create an sf object

Description Usage Arguments Value Author(s) Examples

Description

Set spatial coordinates and projection attributes to create an sf object from the observation ("observacao") table of one or more standardized datasets contained in the Free Brazilian Repository for Open Soil Data – febr, http://www.ufsm.br/febr.

Usage

1
2
3
febr2spdf(obj)

febr2sf(obj)

Arguments

obj

Object of class data.frame downloaded from febr using function observation.

Value

An sf object

Author(s)

Alessandro Samuel-Rosa [email protected]

Examples

1
2
3
4
res <- observation(dataset = "ctb0003", variable = "taxon",
                   progress = FALSE, verbose = FALSE)
res <- febr2sf(obj = res)
plot(res["taxon_sibcs_2009"], axes = TRUE, graticule = TRUE)

febr documentation built on March 18, 2020, 1:08 a.m.