barrks_data {barrks}R Documentation

Load sample data

Description

The package comes with sample data that allow the application of all models available. The following data sets are available:

Usage

barrks_data(dataset = "raster")

Arguments

dataset

Choose the data set that should be returned.

Details

Value

The respective data set. Can be a list of SpatRasters (for dataset = 'raster') or a data frame.

Source

Examples


# plot first layer of the minimum temperature of the sample raster data
terra::plot(barrks_data()$tmin[[1]])

# print the first lines of the sample station data
head(barrks_data('stations'), 10)

# print the coordinates of the sample stations
barrks_data('station_coords')


[Package barrks version 1.0.0 Index]