ramnathv / rMaps

Interactive Maps from R
http://rmaps.github.io
389 stars 194 forks source link

Zip code / zcta choropleths #20

Closed arilamstein closed 10 years ago

arilamstein commented 10 years ago

Does rMaps provide built-in support for creating US ZIP Code (or US Census ZCTA) choropleths?

ramnathv commented 10 years ago

It should be possible. All that is required is a topojson file with zipcode boundaries, which seems to be available here and a data file that has a field identifying the ZCTAs. If you have some ZCTA data handy, I can try to cook up an example.

I make use of some of the internal functions in your choroplethr package that interface nicely with the ACS package. If you could export those data generating functions as well, it would be very useful for rMaps :smile:

arilamstein commented 10 years ago

Perfect - thanks a lot for the speedy and informative reply.

I am currently at work on an update to choroplethr which will facilitate the features you requested. At that point maybe we can work together to create some interesting maps :)

ramnathv commented 10 years ago

Sure. Let us plan to talk then. By then, I would have pushed an update to rMaps too, hopefully with more documentation.

lxwatson commented 9 years ago

Can you post how this displayed somehow if successful? If successful with Zip codes, then likely this can be generalized to any geography (including Counties).