I streamed tweets from Twitter for about 2hours and I have the tweets in a data frame. Now, I want to filter out the tweets that contain certain keywords like 'coronavirus' but R returns a 0*3 tibble
#sample data frame
tweet <- c("I was tested for coronavirus today", "my covid-19 test came out negative")
is_retweet <- c("TRUE", "FALSE")
is_quote <- c("FALSE", "FALSE")
df <- data.frame(tweet, is_retweet, is_quote)
.....and here is how I am trying to filter out the rows where the "tweet" column contains the keywords like covid, corona
filter_df <- df
filter_df %>%
select(tweet, is_quote, is_retweet) %>%
filter(tweets %in% c("covid", "covid-19", "face mask", "pandemic", "coronavirus", "virus"))