Recently Published
Visualization in R and Gephi
This class is part of a computational sociology seminar at Duke and gives a general overview of visualization in R and the social network software Gephi
Natural Language Processing and Topic Modeling in R
These slides are from Chris Bail's computational sociology graduate seminar at Duke University
Screen Scraping and APIs
This course introduces you to basic techniques for screenscraping and extracting data from APIs in R.
Introduction to Programming in R
These slides describe several of the most basic ways of automating tasks in R, and provide a very brief overview of how to a) parallelize your code; and b) run RStudio in the cloud (on Amazon Web Services)
Basic Data Processing in R
It is critical for you to understand the concept of open-source software and
object-oriented programming in order to begin doing computational sociology.
You may already know that variables have different formats (e.g. byte, numeric,
or string), but data can also be organized in different types of “bins” (matrices,
dataframes, lists, and so-on). What is more computational sociologists often
want to collect or analyze data by combining different types of these objects
from websites, spreadsheets, or pre-packaged datasets. As a result, you will
need to learn the basics of object-oriented programming, and how to work with different types of objects in R.
Computational Sociology (Introduction)
In this class, I will provide a basic overview of this course and the burgeoning
eld of computational sociology. I will also introduce you to the main tools we
will be using in this class: RStudio. You do not need to do anything to prepare
for this class, but please bring your laptop with you as we will be installing
software together and setting up your work
ow for the rest of the class.