This is a simple question, but I'm not getting it. I'm trying to build in some flagging based off the contents of a field and its not working for me.
df <- Chats
One coumn... 'url'
I'm trying to introduce another column based on whether 'fan' exists in the url column.
Chats <- Chats %>% mutate(fans = grepl('fan',Chats$url))
This of course is saying the data is missing. Any suggestions on how to fix?