Skip to contents

Spatiotemporal covariate calculation

Usage

calculate(
  domain = NULL,
  domain_name = "year",
  nthreads = 1L,
  process_function = amadeus::process_covariates,
  calc_function = amadeus::calc_covariates,
  ...
)

Arguments

domain

vector of integer/character/Date. Depending on temporal resolution of raw datasets. Nullable; If NULL, it will be set to c(1).

domain_name

character(1). Name of the domain. Default is "year".

nthreads

integer(1). Number of threads to use.

process_function

Raw data processor. Default is amadeus::process_covariates

calc_function

Function to calculate covariates. amadeus::calc_covariates

...

Arguments passed to process_function and calc_function

Value

A data.table object.