RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post
gravatar

CR1992

Chingiz Rabdanov

Recently Published

11
11
Document10bb2
10A Sentiment Analysis with Text Mining with R
In Chapter 2 of Text Mining with R, the authors introduce sentiment analysis. Your task is to reproduce and extend that example. Step 1 — Reproduce the Base Example Obtain the primary example code from Chapter 2. Create a Quarto (.qmd) file that successfully runs this code. Include a proper citation to the book and the original example code. Step 2 — Extend the Analysis Extend the original example in two ways: Use a different text corpus of your choosing (e.g., news articles, book reviews, speeches, social media, etc.). Add at least one additional sentiment lexicon, which may come from: Another R package, or A lexicon you locate through external research. You should clearly explain how the results differ from the original example.
json and html