Here I will aggregate sources related to programming tutorials, gathering data through different mediums and processing that data. This page is under construction.



  • Udacity Tutorial
    • Excellent tutorial that Jon Cohen used for his cognitive psychology course.


Gather Data

Web Scraping

  • Twitter
    • TwitteR is an R package that allows you to collect tweets based on a number of parameters (key words, dates, etc).
    • I have a friend at UChicago who does text scraping on twitter and showed me the twitteR package, so I figured I would add some info on that here since it seems it could be useful in the future for questions related to social networks.
    • A different but similar package is rtweet
  • Facebook
    • Here is a a page with tutorials on Facebook and Twitter scraping with R code.



Process Data


  • If you collect data from Qualtrics but analyze in R, you will find that the format you download the data in from Qualtrics is not R friendly. I found this website that gives some great instructions to make the preprocessing of the data that is pretty simple.


  • I use Rmarkdown in Rstudio to create my analysis scripts in a reproducible way, and in a way that allows easy documentation into pdf or html form.
  • Links on how to use it. Cheat sheet. Documentation.
  • I realized that it is possible to write python code in Rmarkdown! Check the deets here. I have been making tutorials for the lab so this will come in very handy. I’m probably behind the times on this, but I figured I would share.
  • Papaya – to write APA style papers
  • Skimr – get the most out of summary statistics of data frames.
  • Write thesis in R markdown


  • If you gather data on online databases, it’s possible it will come in JSON format, which is very not R friendly. However there are some ways to get around this.
  • R package: jsonlite, Link (I use this method)
  • R package: tidyjson, Link
  • R tutorials on hacking through the json data: LinkLink



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s