Description Usage Arguments Value
View source: R/get_nearest_feature_column.R
Accepts two sf objects x and y and appends the columns of the nearest feature in y to every feature in x. I use "fields" and "columns" interchangeably.
1 | get_nearest_feature_column(x, y, col = "column_1")
|
x |
An sf object containing the features for which you want find the nearest fields in y |
y |
An sf object containing fields to be assigned to x |
col |
The column(s) to add from y to x. Default is "column_1" |
Returns the same sf object in x with the addition of the column(s) from y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.