Maëlle's R blog

Showcase of my (mostly R) work/fun

What to know before you adopt Hugo/blogdown

Fancy (re-)creating your website using Hugo, with or without blogdown? Feeling a bit anxious? This post is aimed at being the Hugo equivalent of “What to know before you adopt a pet”. We shall go through things that can/will break in the future, and what you can do to prevent future pain. I’m writing this post with R users in mind, which means I shall use R analogies and mentioning blogdown, but I hope some aspects are generalizable to other potential Hugo adopters.

Goodbye, Disqus! Hello, Utterances!

Removing Disqus from my blogdown blog had been on my mind for a while, ever since I saw Bob Rudis’ tweet enjoining Noam Ross to not use it for his brand-new website. The same Twitter thread introduced me to Utterances, a “lightweight comments widget built on GitHub issues”, which I have at last installed to my blog in lieu of Disqus. How did I manage to not lose anything of value? How easy was it to switch tools? Read on to learn more!

How did Axios rectangle Trump's PDF schedule? A try with R

Last week, Axios published a very interesting piece reporting on Trump’s private schedule thanks to an insider’s leak. The headlines all were about Trump’s spending more than 60% of his time in “executive time” which admittedly was indeed the most important aspect of the story. I, however, also got curious about Axios’ work to go from the PDF schedules to the spreadsheet they made public. In this post, I’ll have a got at using rOpenSci’s Jeroen Ooms’ pdftools package and some data-wrangling stubborness of mine to try and rectangle Trump’s PDF schedules.

Your and my 2019 R goals

Here we go again, using a Twitter trend as blog fodder! Colin Fay launched an inspiring movement by sharing his R goals of 2019.

It’s been quite interesting reading the objectives of other tweeps: what they want to learn, make, how they want to get involved in the community, etc. As Mike Kearney, rtweet’s maintainer, underlined, it is excellent reading material!

… but also blogging material! Let me fetch and tokenize these tweets to summarize them!

Disclaimer: I later saw that Jason Baik got the same idea and was faster than I, find the analysis here.