@RMHoge asked the following on Twitter: Hello #rstats hyve mind! Is there a package that reads epub into R? I can not find any, I now convert to text and parse the text but you sort of lose the structure of the text. Pinging @dataandme @hrbrmstr — Roel (@RMHoge) April 12, 2018 Here’s one way… Continue reading
Posts Tagged → r6
R⁶ — Capture Tweets with tweet_shot()
(You can find all R⁶ posts here) UPDATE 2018-01-01 — this has been added to rtweet (GH version). A Twitter discussion: I'm going to keep my eyes out for this one! Would love to have an easy way to embed tweets in Rmd talks! — Jeff Hollister (@jhollist) December 30, 2017 that spawned from Maëlle’s… Continue reading
R⁶ Series — Random Sampling From Apache Drill Tables With R & sergeant
(For first-timers, R⁶ tagged posts are short & sweet with minimal expository; R⁶ feed) At work-work I mostly deal with medium-to-large-ish data. I often want to poke at new or existing data sets w/o working across billions of rows. I also use Apache Drill for much of my exploratory work. Here’s how to uniformly sample… Continue reading
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 ice): Only Watergate and the Civil War have prompted shorter tenures as AG (if Sessions were to leave now). A daily viz: https://t.co/aJ4KDsC5kC pic.twitter.com/ZoiEV3MhGp —… Continue reading
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 obfuscated or lazily crafted series of GIF images that contain all the Radio Shack impending store closings. It’s the most comprehensive list I’ve found, but… Continue reading
R⁶ — Tracking WannaCry Bitcoin Wallet Payments with R
If you follow me on Twitter or monitor @Rapid7’s Community Blog you know I’ve been involved a bit in the WannaCry ransomworm triage. One thing I’ve been doing is making charts of the hourly contribution to the Bitcoin addresses that the current/main attackers are using to accept ransom payments (which you really shouldn’t pay, now,… Continue reading
R⁶ — Using pandoc from R + A Neat Package For Reading Subtitles
Once I realized that my planned, larger post would not come to fruition today I took the R⁶ post (i.e. “minimal expository, keen focus”) route, prompted by a Twitter discussion with some R mates who needed to convert “lightly formatted” Microsoft Word (docx) documents to markdown. Something like this: to: This is definitely a job… Continue reading
R⁶ — RStudio Server Client? Make An App For That!
RStudio is a great way to work through analyses tasks, and I suspect most folks use the “desktop” version of the product on their local workstations. The fine folks at RStudio also make a server version (the codebase for RStudio is able to generate server or desktop and they are generally in 100% feature parity… Continue reading