If you are having trouble with a specific rstudio.cloud project, be sure to include the URL of your project.
Be careful about sharing any private data or personally identifying information in the projects you make public.
--> I am taking Googles Data Analytics Certification and in Course 7 Week 3 there is an assignment which ask us to import data from a csv file using the read_csv () function.
All packages are installed and loaded -tidyverse, etc. the instructions state to use a read_csv ("hotel_bookings.csv") and save it as a data frame called bookings_df
When I run it I get this error > read_csv("hotel_bookings.csv")
Error: 'hotel_bookings.csv' does not exist in current working directory ('/cloud/project').
The instructions state that if I were to get an error to place setwd("projects/Course 7 Week 3 before it, I then ran
setwd("projects/Course7/Week3,read_csv("hotel_bookings.csv")
Error: unexpected symbol in "setwd("projects/Course7/Week3,read_csv("hotel_bookings.csv"
reading the error, I reran the code -
setwd("projects/Course 7/Week 3)read_csv(hotel_bookings.csv) and I got the same error
Error: 'hotel_bookings.csv' does not exist in current working directory ('/cloud/project').
The csv file was initially downloaded so it exist on my PC as well as in the folder for this lesson.
Hotel booking demand | Kaggle