LDA - Harry Potter All Story

LDA - Harry Potter All Story

Mário P Carvalho -
Atsakymų skaičius: 1

Review of Results
Following all the steps provided on the page (https://tm4ss.github.io/docs/Tutorial_6_Topic_Models.html), I was almost able to achieve the desired outcome (unless there's a misunderstanding on my part).
According to the tutorial, each line in the "data.csv" file should ideally contain a summary of the Harry Potter book's story. This would allow us to "visualize" the overall narrative from the beginning and generate a word cloud based on the summaries.
However, as you can see, I encountered an error on the last line, and I'm unable to resolve it.  Do you have any advice?



Word Cloud

Conclusion: 


Thank you


Atsakymas į Mário P Carvalho

Re: LDA - Harry Potter All Story

Miguel Pinto -
I'm probably wrong because I don´t master R or anything, but given that you've followed the tutorial (as I have), the issue might be due to using the wordcloud function instead of wordcloud2 from the wordcloud2 package (I needed to install it). And you don´t load wordclaud2 package before using the function. Could that be the case?