rud.is
Latest posts from rud.is
Spelunking XHRs (XMLHttpRequests) with splashr
splashr has gained some new functionality since the introductory post. First, there’s a whole new Docker image for it that embeds a local web server. Why? The main request for…
Diving Into Dynamic Website Content with splashr
If you do enough web scraping, you’ll eventually hit a wall that the trusty httr verbs (that sit beneath rvest) cannot really overcome: dynamically created content (via javascript) on a…
Strung Out On String Ops – A Brief Comparison of stringi and stringr
I made a promise to someone that my next blog would be about stringi vs stringr and I intend to keep said promise. stringr and stringi do “string operations”: find,…
Exploring News Coverage With newsflash
I was enthused to see a mention of this on the GDELT blog since I’ve been working on an R package dubbed newsflash to work with the API that the…
The ? Resistance
I need to be up-front about something: I’m somewhat partially at fault for ? being elected. While I did not vote for him, I could not in any good conscience…
One View of the Impact of the New Immigration Ban (+ freeing PDF data with tabulizer)
Dear Leader has made good on his campaign promise to “crack down” on immigration from “dangerous” countries. I wanted to both see one side of the impact of that decree…
Coconut Pumpkin Pie with Coconut Dark Chocolate Ganache
Preheat oven to 425°F Pie: 4 large eggs 1 large can pumpkin (or steam & puree your own) ¾ cup of brown sugar (dark brown preferable) ¾ cup of cane…
Create Parquet Files From R Data Frames With sergeant & Apache Drill (a.k.a. Make Parquet Files Great Again in R)
2021-11-04 UPDATE: Just use {arrow}. Apache Drill is a nice tool to have in the toolbox as it provides a SQL front-end to a wide array of database and file…
Workout Wednesday Redux (2017 Week 3)
I had started a “52 Vis” initiative back in 2016 to encourage folks to get practice making visualizations since that’s the only way to get better at virtually anything. Life…
The Devil’s in the [Davos] Details — A quick look at this year’s WEF Global Risks Report
It’s Davos time again. Each year the World Economic Forum (WEF) gathers the global elite together to discuss how they’re going to shape our collective future. WEF also releases their…
Knit directly to jupyter notebooks from RStudio
Did you know that you can completely replace the “knitting” engine in R Markdown documents? Well, you can! Why would you want to do this? Well, in the case of…
2017-01 Authored Package Updates
The rest of the month is going to be super-hectic and it’s unlikely I’ll be able to do any more to help the push to CRAN 10K, so here’s a…
The Most Important Commodity in 2017 is Data
Despite being in cybersecurity nigh forever (a career that quickly turns one into a determined skeptic if you’re doing your job correctly) I have often trusted various (not to be…
Removing Personal Bias From Flu Severity Estimation (a.k.a. Misery Loves Data)
The family got hit pretty hard with the flu right as the Christmas festivities started and we were all pretty much bed-ridden zombies up until today (2017-01-02). When in the…
North Carolina’s Neighborhood
UPDATE: I'm glad I'm not the only one who was skeptical of this project: http://andrewgelman.com/2017/01/02/constructing-expert-indices-measuring-electoral-integrity-reply-pippa-norris/ When I saw the bombastic headline “North Carolina is no longer classified as a democracy”…
sergeant : An R Boot Camp for Apache Drill
I recently mentioned that I’ve been working on a development version of an Apache Drill R package called sergeant. Here’s a lifted “TLDR” on Drill: Drill supports a variety of…
Package update: longurl 0.3.0 is hitting CRAN mirrors
The longurl package has been updated to version 0.3.0 as a result of a bug report noting that the URL expansion API it was using went pay-for-use. Since this was…
Minding the zoo[keeper] with R
I’ve been drafting a new R package — sergeant — to work with Apache Drill and have found it much easier to manage having Drill operating in a single node…
The Actual, Über, Ultimate Fake News List
It is surprisingly shorter (or longer if you grok regular expressions) than you think it might be: http[s]://.*. Like it or not, bias is everywhere and tis woefully insidious. “Mainstream…
Interacting With Amazon Athena from R
This is a short post for those looking to test out Amazon Athena with R. Amazon makes Athena available via JDBC, so you can use RJDBC to query data. All…

