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), https://www.pedometria.org/febr/.

febr2sf(obj)

Arguments

obj

Object of class data.frame downloaded from the FEBR using function observation().

Value

An sf object

Author

Alessandro Samuel-Rosa alessandrosamuelrosa@gmail.com

Examples

res <- observation( data.set = "ctb0013", progress = FALSE, verbose = FALSE) res <- febr2sf(obj = res)
#> Loading required namespace: sf
plot(res["geometry"], axes = TRUE, graticule = TRUE)