Tag:post
All the articles with the tag "post".
SweetheaRstats
I felt compelled to dust off my 2013 Valentine's Day #rstats post and make it all Shiny and new again. I used the same math from that post, but made the polygon a bit sharper and used ggplot2 for the…
A Step to the Right in R Assignments
I received an out-of-band question on the use of %<>% in my CDC FluView post, and took the opportunity to address it in a broader, public…
New release (0.7) of metricsgraphics htmlwidget — grids & rollovers
I've updated my metricsgraphics package to version 0.7. The core MetricsGraphics JavaScript library has been updated to version 2.1.0 (from 1.1.0). Two blog-worthy features since releasing version 0.5 are mjsgrid (which is a…
NASA GISS’s Annual Global Temperature Anomaly Trends (dplyr/ggplot version)
D Kelly O’Day did a great post on charting NASA’s Goddard Institute for Space Studies (GISS) temperature anomaly data, but it sticks with base R for data munging & plotting. While there's absolutely nothing wrong with base R operations, I…
New R Package: cdcfluview — Retrieve Flu Data from CDC's FluView Portal
NOTE If there's a particular data set from http://www.cdc.gov/flu/weekly/fluviewinteractive.htm that you want and that isn't in the pacakge, please file it as an issue and be as specific as you can (screen shot if…
New R Package: metricsgraphics
Mozilla released the MetricsGraphics.js library back in November of 2014 (gh repo) and was greeted with great fanfare. It's primary focus is on crisp, clean layouts for interactive time-series data, but they have support for other chart…
Making Static & Interactive Maps With ggvis (+ using ggvis maps w/shiny)
Even though it's still at version 0.4, the ggvis package has quite a bit of functionality and is highly useful for exploratory data analysis (EDA). I wanted to see how geographical visualizations would work under it, so I put together six…
Power Outage Impact Choropleths In 5 Steps in R (featuring rvest & RStudio "Projects")
I and @awpiii were trading news about the power outages in Maine & New Hampshire last night and he tweeted the link to the @PSNH Outage Map. As if the Bing Maps tiles weren't bad enough, the use of a categorical color scale instead of a…
Visualizing Historical & Most-likely First Snowfall Dates for U.S. Regions
The impending arrival of the first real snowfall of the year in my part of Maine got me curious about what the most likely "first snow" dates are for my region. The U.S. Historical Climatology Network (USHCN) maintains historical daily…
Moving The Earth (well, Alaska & Hawaii) With R
In a previous post we looked at how to use D3 TopoJSON files with R and make some very D3-esque maps. I mentioned that one thing missing was moving Alaska & Hawaii a bit closer to the continental United States and this post shows you how…