4 ms·
Bookmarked. Good post, Choropleth's in R are hit or miss and mergeing data to the mapping dataframe remains annoyingly complicated (alluded too in post).
by kickout 4y ago
Bookmarked. Good post, Choropleth's in R are hit or miss and mergeing data to the mapping dataframe remains annoyingly complicated (alluded too in post).
- jrumbut 4y agoI agree. Data being placed on a map often has a hierarchical element (country, state/province, county/district, town/city, etc) and many of the data standards allow nesting such as GeoJSON. While R can handle hierarchical data, it does much better with rectangular data sets.
- pupperino 4y agoNowadays, there's lots of tooling around for nested data, like roomba [1] or the list-column workflow enabled by purrr and dplyr [2]. [1] https://github.com/cstawitz/roomba https://github.com/cstawitz/roomba [2] https://r4ds.had.co.nz/many-models.html#nested-data https://r4ds.had.co.nz/many-models.html#nested-data