Skip to contents

Compute a zonal task

Usage

compute_task(rst, pol, pop = NULL, g_var, fn_name, db_file)

Arguments

rst

The rst variable from a zonal tasks tibble

pol

The pol variable from a zonal tasks tibble

pop

Optional. Population weighting raster

g_var

Variable name (string) that unique identifies each feature at the sf object.

fn_name

The fn_name variable from a zonal tasks tibble

db_file

Path and file name to SQLite database.

Value

Writes the results of the zonal taks into the SQLite database and return a TRUE value.