I have problem in importing data from other sources

bookings_df <- read_csv("hotel_bookings.csv")

Hi welcome to the forum.

We really will need more information. See
FAQ Asking Questions

To format code or data, paste it between

````

````

We need more information to diagnose this. Could you please reply with your error message?

Also run

file.exists("hotel_bookings.csv")

If the answer is FALSE, then run

list.files(pattern = "hotel_bookings.csv", recursive = TRUE)

Is your hotel_bookings.csv file in the output? If it is, how is it written?

You should never ask for help with a problem without saying what the problem is; learn to recognise error messages and try to understand them; the forum can help you do so.
Best guess - Either your csv is not present, or is not a valid csv, or you forgot to load readr package (or tidyverse (which contains readr))

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.