
Read ABARES' "Soil Thickness for Australian Areas of Intensive Agriculture of Layer 1" with stars
Source:R/read_topsoil_thickness_stars.R
read_topsoil_thickness_stars.Rd
Read "Soil Thickness for Australian Areas of Intensive Agriculture of Layer 1" data as a stars object.
Arguments
- x
A file path providing the file with the data to be imported. The file is assumed to be unarchived (i.e., still zipped). This function does not provide any checking whether this function is the proper function for the provided file. Defaults to
NULL
, assuming that the file will be downloaded in the active R session.- ...
Additional arguments passed to
stars::st_as_stars()
, for e.g.,att
if you wished to set the active category.
Value
A stars object of the "Soil Thickness for Australian Areas of Intensive Agriculture of Layer 1".
Note
This function converts a terra::rast()
object internally rather than
reading directly from a file.
See also
Other topsoil thickness:
print_topsoil_thickness_metadata()
,
read_topsoil_thickness_terra()
Examples
if (FALSE) { # interactive()
st_stars <- read_topsoil_thickness_stars()
plot(st_stars)
}