Posts

How to Include JavaScript in your Hugo Website or Blog for Cool Applications

December 8, 2020 - 3 minutes
Mastering Hugo shortcodes will open up new ways of building your website with Hugo
js hugo

Code Snippet: Generalized Linear Mixed Models Power Analysis in R

November 26, 2020 - 2 minutes
A flexible approach that can be stopped and continued at any time. Example code for logistic regression.
R stats code snippet

Extracting Facebook IDs and User Names from Uncleaned Facebook URLs with R

November 22, 2020 - 3 minutes
Facebook URL structures have changed over time and merging data from different sources might be difficult initially
crowdtangle R

Consistently Substituting IDs with Randomized Numbers Using R

November 1, 2020 - 5 minutes
An easy fix to replacing multiple occurences of ID variables throughout a data set
tutorial R

Code Snippet: Automatically hydrating tweets in rtweet while avoiding rate limits

October 23, 2020 - 1 minutes
Rate limits can cause the Twitter API to return less tweets without you noticing it.
R twitterAPI code snippet

Code Snippet: Replacing non-UTF-8 characters in filenames with Python (or Unix)

October 16, 2020 - 1 minutes
German ä, ö, ü, ß caused problems in a Targets pipeline. Drafted this code for renaming files easily.
python bash code snippet"

How to effectively use Twitter's full archive API with Twurl

October 3, 2020 - 5 minutes
Mastering Twurl can both make you independent of external libraries when accessing Twitter data and enrich your data set at the same time
tutorial twitterAPI batch