SOCI832: Overview Week 1

Before class, please:

Don’t forget:

  • to bring your laptop to class
  • to bring your powercord for your laptop to class


Questions

  • What are the advantages of quantitative analysis?
  • What are some of the main methods used in quantitative analysis?
  • How can quantitative analysis help us to understand the 2019 Australian Federal Election result?

Exercises

  • Exercise: What can we learn from The Guardian analysis?
  • Extension exercise: How could you replicate this study? How could it be improved?


Questions

  • What is the structure of this course?
  • What teaching philosophies informed the design of this class?
  • What is the purpose of live coding? The post-it notes? The Google Doc?

Exercises

  • Starting exercise: What was the best course you ever studied? What made it so great??
  • Closing exercise: Multi Choice Quiz (with post-it notes) about the unit guide!


Questions

  • Why use R and RStudio?
  • What do I do when R breaks? How do I get help?
  • Getting started: How do we open projects, scripts, and data?
  • How do I run simple commands in R? Create objects? Calcuations? Run functions?
  • How do I manipulate data frames? New variables? Subset?

Exercises

  • Exercise 1: Importing the data from The Guardian article.
  • Exercise 2: How do I get help?
  • Exercise 3: Subsetting the data from The Guardian article.


Summary

This document provides a detailed step by step guide and also videos for installing R and RStudio in Windows and on a Mac.


Summary

This is a place where I put useful tips and advice on using R and RStudio. Much of the tips here are very useful. However, I don’t want to overwhelm you with too much information, so I’ve put the non-urgent advice here.

Current Topics

  • Tip: What are all the files in the Files Tab?
  • Tip: How to run lines of code?
  • Tip: Installing packages
  • Tip: Commenting with hash #
  • Tip: Finding and setting a working directory
  • Tip: Filepaths in R
  • Tip: Watch out for quotation marks: ’ and " are not the same as ‘ ’ “ and ”
  • Tip: Cheatsheets
  • Tip: If RStudio Hangs


Last updated on 29 July, 2019 by Dr Nicholas Harrigan (nicholas.harrigan@mq.edu.au)