(ggplot2) Exercising with (ggalt) dumbbells

I follow the most excellent Pew Research folks on Twitter to stay in tune with what’s happening (statistically speaking) with the world. Today, they tweeted this excerpt from their 2015 Global Attitudes survey: The age gap in social media use around the world https://t.co/0Dq1PcbExG pic.twitter.com/9HBM7gLxwR— PewResearch Internet (@pewinternet) April 17, 2016 I thought it might… Continue reading

Beating lollipops into dumbbells

Shortly after I added lollipop charts to ggalt I had a few requests for a dumbbell geom. It wasn’t difficult to do modify the underlying lollipop Geoms to make a geom_dumbbell(). Here it is in action: library(ggplot2) library(ggalt) # devtools::install_github("hrbrmstr/ggalt") library(dplyr)   # from: https://plot.ly/r/dumbbell-plots/ URL <- "https://raw.githubusercontent.com/plotly/datasets/master/school_earnings.csv" fil <- basename(URL) if (!file.exists(fil)) download.file(URL, fil)… Continue reading

Clandestine DNS lookups with gdns

Google recently announced their DNS-over-HTTPS API, which “enhances privacy and security between a client and a recursive resolver, and complements DNSSEC to provide end-to-end authenticated DNS lookups”. The REST API they provided was pretty simple to wrap into a package and I tossed in some SPF functions that I had lying around to bulk it… Continue reading

52Vis Week 2 (2016 Week #14) – Honing in on the Homeless

UPDATE: Since I put in a “pull request” requirement, I intended to put in a link to getting started with GitHub. Dr. Jenny Bryan’s @stat545 has a great section on git that should hopefully make it a bit less painful. Why 52Vis? In case folks are wondering why I’m doing this, it’s pretty simple. We… Continue reading