Tutorial: Intro to Web Scraping with R

Let’s take a look at how you can use R to scrape data from text in a standard form across many pages. We’ll start by going over some of the key functions that will help us, and then we’ll walk through an example.

Read More Leave comment

Replicating Voter Turnout Analysis at County Level

In a recent release, Democracy North Carolina analyzed voter turnout in the state in last November’s election among different demographic groups. In this post, we’ll see how you can replicate this analysis for your county.

Read More Leave comment

Tutorial: Using R to Convert File Types

Carolina Data Desk recently received a request from a reporter looking to convert .dta files (data files used with STATA software) to .csv files. In this post, we’ll walk through how you can easily do this using R.

Read More Leave comment

Tutorial: Using R to Generate Written Summaries of Data

See how you can use R to generate written summaries of data with this tutorial using data from the 2016 North Carolina General Assembly elections.

Read More Leave comment