Category: R
Everything filed under R.
U.S. Drought Animations with the "Witch's Brew" (purrr + broom + magick)
This is another purrr -focused post but it's also an homage to the nascent magick package (R interface to ImageMagick) by…
Use quick formula functions in purrr::map (+ base vs tidtyverse idiom comparisons/examples)
I've converted the vast majority of my apply usage over to purrr functions. In an attempt to make this a quick post, I'll refrain from going into all the benefits of the purrr package. Instead, I'll show just one thing that's super…
Mid-year R Packages Update Summary
I been updating some existing packages and github-releasing new ones (before a CRAN push). Most are "cyber"-related, but there are some general purpose ones. Here's a quick…
Slaying CIDR Orcs with Triebeard (a.k.a. fast trie-based 'IPv4-in-CIDR' lookups in R)
The insanely productive elf-lord, @quominus put together a small package (triebeard) that exposes an API for radix/prefix tries at both the R and Rcpp levels. I know he had some personal needs for this and we both kinda need these to…
CRAN Packages on GitHub (and some CRAN DESCRIPTION observations)
Just about a week ago @thosjleeper posited something on twitter w/r/t how many CRAN packages had associations with GitHub (i.e. how many used GitHub for development). The DESCRIPTION file (that comes with all R packages) has some fields…
Bridging The Political [Polygons] Gap with ggplot2
The @pewresearch folks have been collecting political survey data for quite a while, and I noticed the visualization below referenced in a Tableau vis contest…
A Simple Prediction Web Service Using the New fiery Package
fiery is a new Rook/httuv-based R web server in town created by @thomasp85 that aims to fill the gap between raw http & websockets and Shiny with a flexible framework for handling requests and serving up…
Making "Time Rivers" in R
Once again, @albertocairo notices an interesting chart and spurs pondering in the visualization community with his post covering an unusual "vertical time series" chart produced for the print version of the…
A Call to Arms[list] Data Analysis!
The NPR vis team contributed to a recent story about Armslist, a "craigslist for guns". Now, I'm neither pro-"gun" or anti-"gun" since this subject, like most heated ones, has more than two sides. What I am is pro-data, and the U.S.…
Your data vis "Spidey-sense" & the need for a robust "utility belt"
@theboysmithy did a \great piece\ on coming up with an alternate view for a timeline for an FT…