| spatial_join | R Documentation |
Spatial join: attach state and district names to each point
spatial_join(
df,
lat_col,
lon_col,
states,
districts,
state_name_col,
district_name_col
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.