Having performed a sentiment analysis on some papers, I got this dataframe, with sentiment scores at the sentence unit. I would like to sum these sentences to get article scores (accross element_ids).
Thank you very much in advance.
Etienne
To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:
Specifically in your case take a look at group_by + summarize functions in dplyr.