🔗

Create Code Metrics with cloc

/ / R
The cloc Perl script (yes, Perl!) by Al Danial (https://github.com/AlDanial/cloc) has been one of the go-to tools for generating code metrics. Given a single file, directory tree, archive, or git repo, cloc can speedily give you metrics on the count of blank lines, comment lines, and physical lines of source ... Read More
‘LMX ot NOSJ!’ Interchanging Classic Data Formats With Single `blackmagic` Incantations

‘LMX ot NOSJ!’ Interchanging Classic Data Formats With Single `blackmagic` Incantations

/ / R, XML
The D.C. Universe magic hero Zatanna used spells (i.e. incantations) to battle foes and said spells were just sentences said backwards, hence the mixed up jumble in the title. But, now I’m regretting not naming the package zatanna and reversing the function names to help ensure they’re only used deliberately ... Read More

RIPE 76 Selected Talks

RIPE 76 is going on this week and — as usual — there are scads of great talks. The selected ones below are just my (slightly) thinner slice at what may have broader appeal outside pure networking circles. Do not read anything more into the order than the end-number of ... Read More
Wrangling Data Table Out Of the FBI 2017 IC3 Crime Report

Wrangling Data Table Out Of the FBI 2017 IC3 Crime Report

/ / R
The U.S. FBI Internet Crime Complaint Center was established in 2000 to receive complaints of Internet crime. They produce an annual report, just released 2017’s edition, and I need the data from it. Since I have to wrangle it out, I thought some folks might like to play long at ... Read More
Creating the R file.io package for Noam Ross

Seventeen Minutes From Tweet To Package

/ / R
Earlier today, @noamross posted to Twitter: #rstats #lazyweb What's the R/httr/curl equivalent of curl -F "file=@somefile.html" https://t.co/abbugLz9ZW — Noam Ross (@noamross) May 3, 2018 The answer was a 1:1 “file upload” curl to httr translation: but I wanted to do more than that since Noam took 20 minutes out his ... Read More
🔗

Painless ODBC + dplyr Connections to Amazon Athena and Apache Drill with R & odbc

/ / athena, drill, R
I spent some time this morning upgrading the JDBC driver (and changing up some supporting code to account for changes to it) for my metis package🔗 which connects R up to Amazon Athena via RJDBC. I’m used to JDBC and have to deal with Java separately from R so I’m ... Read More
Examining POTUS Executive Orders

Examining POTUS Executive Orders

/ / R
This week’s edition of Data is Plural had two really fun data sets. One is serious fun (the first comprehensive data set on U.S. evictions, and the other I knew about but had forgotten: The Federal Register Executive Order (EO) data set(s). The EO data is also comprehensive as the ... Read More

Access Your “Saved for Later” Feedly Items By Hooking Up Dropbox to Feedly

/ / data wrangling, feedly, RSS
If you come here often you’ve noticed that I’ve been writing a semi-frequent series on using the Feedly API with R. A recent post was created to help someone use the API. It worked for them but — as you can see in the comment — an assertion was made ... Read More
😞

By Request: Retrieving Your Feedly “Saved for Later” Entries

/ / feedly, R
@mkjcktzn asked if one can access Feedly “Saved for Later” items via the API. The answer is “Yes!”, and it builds off of that previous post. You’ll need to read it and get your authentication key (still no package 😞) before continuing. We’ll use most (I think “all”) of the ... Read More

A Word About Tracking On This Site

/ / Commentary
Since I just railed against Congress for being a bit two-faced about privacy I thought some rud.is site disclosure would be in order. At present, third-party tracking is limited to: Something in my WordPress configuration adding a DNS pre-fetch for fonts.googleapis.com. There are a few more other DNS pre-fetches that ... Read More
Loading...