rud.is

Latest posts from rud.is

  • Teasing Out Top Daily Topics with GDELT’s Television Explorer

    Earlier this year, the GDELT Project released their Television Explorer that enabled API access to closed-caption tedt from television news broadcasts. They’ve done an incredible job expanding and stabilizing the…

  • Readability Redux

    I recently posted about using a Python module to convert HTML to usable text. Since then, a new package has hit CRAN dubbed htm2txt that is 100% R and uses…

  • Rpad Domain Repurposed To Deliver Creepy (and potentially malicious) Content

    I was about to embark on setting up a background task to sift through R package PDFs for traces of functions that “omit NA values” as a surprise present for…

  • Unbottling “.msg” Files in R

    There was a discussion on Twitter about the need to read in “.msg” files using R. The “MSG” file format is one of the many binary abominations created by Microsoft…

  • Reticulating Readability

    I needed to clean some web HTML content for a project and I usually use hgr::clean_text() for it and that generally works pretty well. The clean_text() function uses an XSLT…

  • Caching httr Requests? This means WAR[C]!

    I’ve blathered about my crawl_delay project before and am just waiting for a rainy weekend to be able to crank out a follow-up post on it. Working on that project…

  • R⁶ — Exploring macOS Applications with codesign, Gatekeeper & R

    (General reminder abt “R⁶” posts in that they are heavy on code-examples, minimal on expository. I try to design them with 2-3 “nuggets” embedded for those who take the time…

  • R⁶ — Reticulating Parquet Files

    The reticulate package provides a very clean & concise interface bridge between R and Python which makes it handy to work with modules that have yet to be ported to…

  • Analyzing “Crawl-Delay” Settings in Common Crawl robots.txt Data with R

    One of my tweets that referenced an excellent post about the ethics of web scraping garnered some interest: Apologies for a Medium link but if you do ANY web scraping,…

  • Reading PCAP Files with Apache Drill and the sergeant R Package

    It’s no secret that I’m a fan of Apache Drill. One big strength of the platform is that it normalizes the access to diverse data sources down to ANSI SQL…

  • R⁶ — General (Attys) Distributions

    Matt @stiles is a spiffy data journalist at the @latimes and he posted an interesting chart on U.S. Attorneys General longevity (given that the current US AG is on thin…

  • R⁶ — Disproving Approval

    I couldn’t let this stand unchallenged: The new Rasmussen Poll, one of the most accurate in the 2016 Election, just out with a Trump 50% Approval Rating.That’s higher than O’s…

  • Replicating the Apache Drill ‘Yelp’ Academic Dataset Analysis with sergeant

    The Apache Drill folks have a nice walk-through tutorial on how to analyze the Yelp Academic Dataset with Drill. It’s a bit out of date (the current Yelp data set…

  • Keeping Users Safe While Collecting Data

    I caught a mention of this project by Pete Warden on Four Short Links today. If his name sounds familiar, he’s the creator of the DSTK, an O’Reilly author, and…

  • Engaging the tidyverse Clean Slate Protocol

    I caught the 0.7.0 release of dplyr on my home CRAN server early Friday morning and immediately set out to install it since I’m eager to finish up my sergeant…

  • R⁶ — Scraping Images To PDFs

    I’ve been doing intermittent prep work for a follow-up to an earlier post on store closings and came across this CNN Money “article” on it. Said “article” is a deliberately…

  • Drilling Into CSVs — Teaser Trailer

    I used reading a directory of CSVs as the foundational example in my recent post on idioms. During my exchange with Matt, Hadley and a few others — in the…

  • L.A. Unconf-idential : a.k.a. an rOpenSci #runconf17 Retrospective

    Last year, I was able to sit back and lazily “RT” Julia Silge’s excellent retrospective on her 2016 @rOpenSci “unconference” experience. Since Julia was not there this year, and the…

  • R⁶ — Idiomatic (for the People)

    NOTE: I’ll do my best to ensure the next post will have nothing to do with Twitter, and this post might not completely meet my R⁶ criteria. A single, altruistic,…

  • A Very Palette-able Post

    UPDATE: I was reminded that I made a more generic version of adobecolor to handle many types of swatch files which you can find on github. Many of my posts…