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

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

Tutorial: Using SQLite to analyze an education data set

In this tutorial, we’re going to do some example queries of the 2013-14 Civil Rights Data Collection from the U.S. Department of Education Office for Civil Rights. To get started, download the CRDC_NC.csv file from our Google Drive. The full CRDC dataset for the United States takes a very long time to open, so we’re going to just start with the N.C. dataset (even isolating […]

Read More Leave comment