aw_strip_df is called by aw_interpolate. It strips sf objects of nonessential variables but keeps variables listed in parameters.

aw_strip_df(.data, id, value)

Arguments

.data

A sf object

id

A given source id field

value

Optional; the variable that estimations will be based on

Value

A sf object with only the id and, if provided, the value column as well.