How hard would it be to create statebins as an sp object with reasonable lat and long values? I'm thinking about modifying geom_map() so it can take sp objects as input, and switching between actual state borders and binned border would be interesting.
(That would also make it easy to generalise statebins to other shapes)
Totally missed this. Apologies. Actually, this is the plan moving forward. I just need to make a set of square polygons to go with the hex ones I have. Then I can replace the geom_tile with geom_map.
How hard would it be to create statebins as an sp object with reasonable lat and long values? I'm thinking about modifying
geom_map()
so it can takesp
objects as input, and switching between actual state borders and binned border would be interesting.(That would also make it easy to generalise statebins to other shapes)