Used to aggregate the sentiment variables to the individual and meeting levels
aggSentiment(inputData, meetingId = NULL, speakerId = NULL, sentMethod)
data.frame that has been output from textSentiment function
string that indicates the name of the variable containing the meeting ID
string that indicates the name of the variable containing the speaker identity
string that indicates what type of sentiment analysis to aggregate--must be either 'aws' or 'syuzhet'
A data.frame giving the sentiment metrics aggregated to the requested level. If only meetingId is specified, metrics are aggregated to that level. If only speakerId is specified, metrics are aggregated to the individual level across any meetings. If both meetingId and speakerId are specified, metrics are aggregated to the level of the individual within meeting.
agg.out = aggSentiment(inputData=sample_transcript_sentiment_aws, meetingId="batchMeetingId", speakerId = "userId", sentMethod="aws") agg.out = aggSentiment(inputData=sample_chat_sentiment_syu, meetingId="batchMeetingId", speakerId = "userName", sentMethod="syuzhet")