Learn R Programming

slga (version 1.1.1)

tidy_lscape_data: tidy landscape parameter rasters

Description

Does some post-processing on landscape datasets downloaded from SLGA - mostly about setting NA correctly

Usage

tidy_lscape_data(r = NULL, product = NULL, write_out = FALSE, filedir)

Arguments

r

raster object downloaded over WCS

product

character; the SLGA terrain product in question

write_out

Boolean, whether to write the retrieved dataset to disk. Defaults to FALSE.

filedir

directory in which to write files if write_out == TRUE.

Value

a raster, but a better one