Data Literacy with R for Students of Humanities

Silvie Cinková

2025-07-18

Welcome

  • Target group:
    • scholars, no programming background
    • supposed to be hard!!!
  • No question is stupid. Please repeat is excellent!
    • You are asking for the shy ones.
    • Teacher gets easily wrong or incoherent, like most people.
  • Hazard loud guesses.
    • Often legit assumptions stumble on system-inherent idiosyncrasies.
    • You are hardly alone thinking so.

Welcome

Learning materials on github

R vs. Python for Data Science

  • Which is preferred in your research domain?
    • NLP, DH: both
  • R probably best at tabular data (manipulation, plotting)
  • Nice comparison at statology.org:

https://www.statology.org/r-vs-python-for-data-science-a-comprehensive-comparison/

Mind map of R

The Big Picture

Base R vs. “dialects”

Base R

Data structures

Functions and programming structures

Tidyverse

https://www.tidyverse.org/

R for Data Science

Reporting

Note keeping tip

How to keep notes in RStudio

  • Source file of this presentation: 01_Introduction.qmd.
  • Edit your local copy to add your notes in Markdown.
  • To preserve the slides structure, write your notes inside ::: notes :::
  • You can render it as pdf/html even if you ruin the slides rendering.
  • How to keep the presentation structure

Data manipulation - the core skill

Data frame wrangling

Data import: readr

Processing text (strings)

Extracting external data

Programming

That’s R!