Lecture 5
Importing, Exporting, and Cleaning Data
April 23, 2023
Slides & Code
HTML slides • Raw qmd file • R Code
Data
Billboard Top 100 (2000) • Religion & Income
Suggested Reading (from R for Data Science (2e))
Chapter 8: Data import • Chapter 6: Data tidying • Chapter 17: Factors • Chapter 28: Dates and Times
Useful Resources
Cheatsheets
tidyr
• readr
• SAS --> R
• Stata to R
• forcats
• lubridate
Package Websites
tidyr
• readr
• haven
• readxl
• googlesheets4
• googledrive
• forcats
• lubridate