Subfunction of aw_preview_weight for calculating individual weights

aw_calculate_weight(.data, source, id, item)

Arguments

.data

A sf object that data should be interpolated to (this is referred to as the target elsewhere in the package).

source

A sf object with data to be interpolated

id

A unique identification number in either the source or target data

item

One of "extensive_sum", "extensive_total", or "intensive"