Mapping Power Outages in Maine Dynamically with Shiny/R
[This article was first published on rud.is » R
, and kindly contributed to R-bloggers
]. (You can report issue about the content on this page here
Want to share your content on R-bloggers? click here
if you have a blog, or here
if you don't.
I decided to forego the D3 map mentioned in the previous post in favor of a Shiny one since I had 90% of the mapping code written.
I binned the ranges into three groups, changed the color over to something more pleasant (with
RColorBrewer), added an interactive table for the counties with outage and have the elements updating every minute.
You can see the Live Outage Map over at it’s live Shiny server. Source is below or over at github if you’ve got blockers enabled.
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook