R/weight_grid.R
weighting_grid.Rd
Build Weighting Grid Returns a data.table with columns for ID, grid_id, X, Y and weight. By default this object is sorted on the grid_id
weighting_grid(file, geom, ID, progress = FALSE)
file | path to a gridded file (either .tif or .nc) |
---|---|
geom | sf object of aggregation units |
ID | the name of the column providing the unique identified of each geom |
progress | show progress bar for intersection (default = TRUE) |
a data.tabel