hrbrmstr / statebins

Alternative to choropleths of US States ala http://bit.ly/statebins
Other
124 stars 28 forks source link

Statebins as sp object? #4

Open hadley opened 9 years ago

hadley commented 9 years ago

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)

hrbrmstr commented 9 years ago

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.