Description Usage Arguments Value
assign_points_to_polygons
takes a dataframe of of individual points,
and a dataframe of points defining polygons (in the form returned by
build_polygon_df
) and assigns area ids to points contained in the
polygons.
1 | assign_points_to_polygons(points = NULL, polygons = NULL)
|
points |
dataframe. |
polygons |
dataframe. |
Dataframe identical to points dataframe, with area.id variable added. Points which do not fall within polygon boundaries will have area.id = NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.