0

This is the error I am get bingSent when I try to execute the code. This is the code file.

afinSent <- text_df %>%
  inner_join(afin) %>%
  group_by(index = date) %>%
  summarise(sentiment = sum(score))
# Joining, by = "word"
bingSent <- text_df %>%
   inner_join(bing) %>%
   count(index = date, sentiment) %>%
   spread(sentiment, n, fill = 0) %>%
   mutate(sentiment = positive - negative)
# Joining, by = "word"
# Error in enc2utf8(col_names(col_labels, sep = sep)) : 
#   argument is not a character vector

enter link description here

zero323
  • 322,348
  • 103
  • 959
  • 935
  • Please include example data required to reproduce the problem in the post itself. See [How to make a great R reproducible example?](https://stackoverflow.com/q/5963269/6910411) – zero323 Apr 19 '18 at 17:55
  • Thank you i was able to solve the problem by myself – gaurav dudeja Apr 19 '18 at 21:01

0 Answers0