Learn R Programming

amadeus (version 1.2.3)

process_koppen_geiger: Process climate classification data

Description

The process_koppen_geiger() function imports and cleans raw climate classification data, returning a single SpatRaster object.

Usage

process_koppen_geiger(path = NULL, extent = NULL, ...)

Value

a SpatRaster object

Arguments

path

character(1). Path to Koppen-Geiger climate zone raster file

extent

numeric(4) or SpatExtent giving the extent of the raster if NULL (default), the entire raster is loaded

...

Placeholders.

Author

Insang Song

Examples

Run this code
## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
##       amount of data which is not included in the package.
if (FALSE) {
kg <- process_koppen_geiger(
  path = "./data/koppen_geiger_data.tif"
)
}

Run the code above in your browser using DataLab