Datajournalism How-To's

A collection of helpful turorials for data journalists and those that wish to become one. Main technologies in use: R (tidyverse), Javascript (d3).

August 18, 2019

Map over each row of a dataframe in R with purrr

I often find myself wanting to do something a bit more complicated with each entry in a dataset in R. All my data lives in data frames or…

June 20, 2019

Mapping Swiss coordinates (LV95) with d3: Part 1

This is the first of a two-part series about creating a map in SVG based on Swiss geographical data. Each part contains a certain step of…

June 20, 2019

How to extract tabular data from PDFs with R

So far, I have only extracted data from tables using Tabula . I was delighted to find out , that there is a package that lets me automate…

June 10, 2019

Making a svelte app compatible with Internet Explorer 11

I usually work with but recently I had a closer look at one of it’s younger competitors: Svelte . Version 3 just came out and compared to…

Angelo Zehr

Written by Angelo Zehr, data journalist at SRF Data and teacher.