UPDATED: This is the first time I tried to include a dataset in a package and it didn’t go well 🙂
If you have problems then that is probably why. Sorry for the inconvenience. Will update everything as soon as possible.
Well, if you wrote about it we might be able to figure it out with my new package: happyorsad
Happyorsad is a sentiment scorer. It uses the approach of Finn Årup Nielsen from Informatics and Mathematical Modelling at the Technical University of Denmark and this AFINN lists hosted in his Github repo.
Finn Årup Nielsen has constructed three lists that makes it possible to sentiment score in english, danish and using emoticons. There are already a few sentiment packages for english, but this is the first one for danish and as far as I now also the first one to sentiment score emoticons.
A big shout out to Finn for the lists.
If you want to try it out then just run the code below. Looking forward to your feedback!
# Examples of sentiment scoring
# Score danish words
string_da <- ‘Hvis ikke det er det mest afskyelige elendige flueknepperi…’
# Score english words
string_en <- ‘This is utterly excellent!’
# Score emoticons
string_emoticon <- ‘I saw that yesterday :)’