Posts
In God we trust. All others must bring data.
Primary Plotting
My wife tricked me into a partial-weekend project to try to get all the primary/caucus results to-date on a map (the whole us). This is challenging since not all states use counties as boundaries for aggregate results. I'm still piecing…
Capturing wild widgets with webshot
NOTE: you won't need to use this function if you use the development version of…
A Tale of Two Charting Paradigms: Vega-Lite vs R+ggplot2
This post comes hot off the heels of the nigh-feature-complete release of vegalite (virtually all the components of Vega-Lite are now implemented and just need real-world user testing). I've had a few and seen a few questions about "why…
Create Vega-Lite specs & widgets with the vegalite package
Vega-Lite 1.0 was released this past week. I had been meaning to play with it for a while but I've been burned before by working with unstable APIs and was waiting for this to bake to a stable release. Thankfully, there were no new shows…
Working with the Clinton State Dept Email Dumps in R (Part 1: Graphs)
I put this together after experimenting with ggplot2 and ggnetwork earlier this week. The changes I made added svgPanZoom into the mix. Consequently, it has a widget in it, so it was just easier to embed the full R markdown HTML into an…
Thai Curry Puffs (Karipap • กะหรี่ปั๊บ)
I made Thai curry puffs for @mrshrbrmstr for Valentine's Day (paired with Thai crispy duck red curry) and was asked to post the recipe. There are two versions, one with lard pie dough (#3, #4 & I are dairy sensitive) and one with puff…
Making Faceted Heatmaps with ggplot2
We were doing some exploratory data analysis on some attacker data at work and one of the things I was interested is what were "working hours" by country. Now, I don't put a great deal of faith in the precision of geolocated IP addresses…
Dairy-free Parker House Rolls
Here's a quick/easy recipe for soft roll dough that you can use to make dairy-free Parker House rolls, knot rolls or just plain…
Plot the new SVG R logo with ggplot2
High resolution and SVG versions of the new R logo are finally available…
Craft httr calls cleverly with curlconverter
When you visit a site like the LA Times' NH Primary Live Results site and wish you had the data that they used to make the tables & visualizations on the…