Import Data
This lesson is called Import Data, part of the R in 3 Months (Spring 2026) course. This lesson is called Import Data, part of the R in 3 Months (Spring 2026) course.
Transcript
Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.
Loading transcript...
View code shown in video
library(tidyverse)
read_csv("coffee_ratings.csv")
Your Turn
1. Create a new R script file and save it as import.R
2. Add the line library(tidyverse) at the top of your R script file and run it to load the tidyverse
3. Use the read_csv() function (not read.csv()) to import the coffee_ratings.csv file
Learn More
The coffee ratings data comes from the Tidy Tuesday project, a social coding project that releases new data each week and encourages people to analyze it, visualize it, and share their results on social media.
Have any questions? Put them below and we will help you out!
Course Content
144 Lessons
You need to be signed-in to comment on this post. Login.