Closed elliottmorris closed 7 years ago
not sure exactly what you want to do, but if you use the trueState attribute it has the same value for those states.
Like the map on this page http://www.thecrosstab.com/stateodds/ , where the boxed on NE and ME congressional districts aren't there.
strange the rmapshaper::ms_disolve should have done this. I will investigate tomorrow.
Okay! Thanks for responding after hours. And for the great code
Unfortunately the polygon dissolving didn't work as expected in this case. I'm afraid for now I don't see any way to accomplish this bar from doing it manually in QGIS or something.
If you simply don't want to plot them, I think that is doable. but merging is going to be hard.
Could also solve the problem by having them be the same color as the statewide result. Is that doable?
On Oct 19, 2016, at 4:55 PM, Bhaskar V. Karambelkar notifications@github.com wrote:
If you simply don't want to plot them, I think that is doable. but merging is going to be hard.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Yes that can always be done, but you will still see the borders of the polygons, unless you set weight=0
or stroke=F
I will try this tomorrow and get back to you.
On Oct 19, 2016, at 8:35 PM, Bhaskar V. Karambelkar notifications@github.com wrote:
Yes that can always be done, but you will still see the borders of the polygons, unless you set weight=0 or stroke=F
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I think this works now. I migrated all sp classes to sf classes. See http://rpubs.com/bhaskarvk/tilegramsR
Any way to use this tilegram without the congressional districts in NE & ME?
DKOS_Electoral_College_Map_v1.states@data$trueState