I am working on a course assignment on coursera and keep running into an error in one of the steps.
"hotel" is a column name in my dataset (which is an object already) and I am trying to reference it in a filter function but the error says hotel is not found
Here is the code:
onlineta_city_hotels <- filter(hotel_bookings,
(hotel=="City Hotel" &
hotel_bookings$market_segment=="Online TA"))