Interpreting
Humanist Data
Digital Scholarship Center
Link: https://bit.ly/47exbXK
Digital Scholarship
Digital Scholarship
INTRODUCTION
R is a programming language and RStudio is the environment we can use to write and run the code. This presentation will go over how analyze categorical data (non-numerical) in R.
Data Analysis with R Series
Fall 2024 Workshops
September 10 | R Basics and Descriptive Statistics |
September 24 | Interpreting Humanist Data |
October 15 | Testing Your Hypothesis |
October 29 | Text Analysis |
November 12 | Visualizing and Presenting Your Data |
Feel free to recommend any topics for the future!
RSTUDIO INSTRUCTIONS
R is open source and free. To use it:
RStudio Cloud has some limitations within the free account but will work fine for our purposes.
Unless you have a familiarity with the desktop version, I recommend using the cloud version for easier file management.
R Concepts
Different types of data:
Statistics allows us to analyze both but in different ways. We need to know which it is before we can analyze.
RSTUDIO INSTRUCTIONS
Once you make an account or log in to RStudio cloud, you will need to create a New RStudio Project
For either version once open, create a new notebook or script
File > New File > R Notebook or R Script
RSTUDIO INSTRUCTIONS
Both options will save your code, with different options
Ctrl + Enter will execute your code/code blocks
Ctrl + Alt + I will create new code blocks in a notebook
DATA INSTRUCTIONS
We will be using a dataset on Titanic passengers from Github
For this workshop, you will working alongside me, after the class I will send out the notebook and update the link here.
Let’s Get Started in RStudio
Practicing with the Notebook
Instructions for the Notebook
To use the R Notebook after this session
Step One | Navigate to Cloud or desktop version of RStudio |
Step Two | If using cloud version, make a free account if you don’t already have one |
Step Three | Download R notebook |
Step Four | Open R environment in either version, four panes should be visible |
Step Five | Open R notebook in R
|
Upload the Notebook
Upload the R Notebook
Open the Notebook as a file
Open the R Notebook
Reach Out!