0

I have to use score.sentiment function on an amount of tweets. After, I create the score table where I can store all my companies names and relatives scores. My problem is that some companies have special characters in their names , like the accent " ' " . So, when I want to set the name of the company in my table, I have an error doing

wendys.scores$company = 'Wendy's'; 

because there is a problem with the second and third character. There is a way to fix this? Or I only can write 'Wendys' without the ' between the -y- and the -s- ? Thank you in advice.

sebastian-c
  • 15,057
  • 3
  • 47
  • 93
JEricaM
  • 794
  • 2
  • 15
  • 37

0 Answers0