Hello, i am learning R for first time. In the lesson, it asked me to import data onto R. Below is the instruction. Will someone help me write the code?
Thank you,
In the chunk below, you will use the read_csv()
function to import data from a .csv in the project folder called "hotel_bookings.csv" and save it as a data frame called hotel_bookings
:
If this line causes an error, copy in the line setwd("projects/Course 7/Week 4") before it.
hotel_bookings <- read.csv("hotel_bookings.csv")