This is an R coding tutorial that shows how combine and summarize spatial data. Specifically, I show how you can take lat-long coordinates, convert them to spatial objects, and join and summarize them with spatial polygons. I show both pre-defined polygons (French Departments) as well as user-created polygons (hexagonal grid).
The example I use takes French winery locations from OpenStreetMap data and maps them grouped at the French Department level and a hexagonal grid level.
Code can be found here:
