Filter in dplyr HELP

Welcome. I am not totally sure what your question is. If you have a question about how to acheive your goal with code, it's helpful to pose your question as a reproducible example (reprex). This makes it much easier to understand your issue, and reprexs are great starting points to offer you a suggestion.

It sounds like you are setting up a basic filtering question. That is, you have data, and you'd like to see a subset of your data based on a few conditions. The Tidyverse package dplyr has a filter() function that can be really helpful. Here's a chapter of R4DS that helps you step into these kinds of data wrangling tasks.

You might then group by specific hotel, and calculate summary statistics of those hotels (e.g. negative and positive comments). That R4DS chapter covers basics of those operations as well.

Update: there's a similar question over here. unequal length combining data

Given this is the 2nd of a very similar question, I should make you aware of our homework policy, FAQ: Homework Policy. We are happy to help with homework, but be sure to mark them as such.