Reading and wrangling data (2/3)

Martin Frigaard 11/15/2017 In my last post I set up my project folders and downloaded the data sets for the article, “Contagion in Mass Killings and School Shootings”. Reading data into RStudio I am going to read the data into the RStudio environment. I recommend using read_csv for plain text files (this function is from […]

Setting Up Data Project Folders (1/3)

Martin Frigaard 11/15/2017 I re-wrote and published these after reading David Robinson’s excellent post on Check him out on Twitter and take his new tidyverse course on DataCamp . File and folder organization are topics I was never explicitly taught, and I think it’s tragic. Organizing your project files can help you think through […]

Tools & Resources for Learning Stata

The Resources for learning Stata page has most of the sites I describe below. Unfortunately, their list is also riddled with link rot, and many of the resources use ancient versions/commands. I’ve only included the active sites that I’ve actually used for analysis/projects. *I’ll continue updating as I find more resources.  My first post on this […]

Getting Started in RStudio Notebooks

This is the first draft of a post that was featured on Please check out that version if you run into issues here.   R is a powerful statistical programming language for manipulating, graphing, and modeling data. One of the major positive aspects of R is that it’s open-source (free!). But “free” does not […]

Automate Your Life – OSX tips and tricks

Need the file path for a screenshot image to put it in a markdown file? I abhor repetitive tasks. Fortunately, OSX comes with an Automator app that lets users streamline certain operations to improve workflow. I need a lot of Launch Automator and create a new “Service.” Set Service receives selected to “files or folders” and […]