Skip to content

Commit 40f209f

Browse files
authored
Update scripts_sentiment_analysis.qmd
1 parent 91ed1cf commit 40f209f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

scripts/workshop_package/scripts_sentiment_analysis.qmd

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Sentiment and Emotion Analysis of Comments"
33
editor: visual
44
---
55

6-
## Setup: Installing and Loading Packages
6+
## Setup: Installing & Loading Packages & Data
77

88
```{r}
99
# Install all required packages
@@ -29,15 +29,16 @@ library(RColorBrewer)
2929
library(stringr)
3030
```
3131

32-
### Polarity Analysis
33-
3432
```{r}
3533
# Load Data
3634
comments <- readr::read_csv("./data/clean/comments_preprocessed.csv")
35+
```
3736

38-
# Compute sentiment per row/case
37+
### Polarity Analysis
3938

4039
```{r}
40+
# Compute sentiment per row/case
41+
4142
```
4243

4344
# Add scores and labels to original dataset

0 commit comments

Comments
 (0)