batchFlattenSelf: Wrapper to run the flattenSelf function on a batch of...

View source: R/batchFlattenSelf.R

batchFlattenSelfR Documentation

Wrapper to run the flattenSelf function on a batch of meetings

Description

Wrapper to run the flattenSelf function on a batch of meetings

Usage

batchFlattenSelf(inputData, inputType, meetingId, speakerId, gapLength)

Arguments

inputData

data.frame with multiple meetings from batchProcessZoomOutput (either transcript or chat)

inputType

character indicating 'transcript' or 'chat'

meetingId

character name of the variable containing the meeting identifier

speakerId

character name of the variable containing the speaker identifier

gapLength

integer giving the number of seconds for marking distinct turns by the same speaker. Consecutive utterances by the same speaker of greater than or equal to this value will be treated as different conversational turns.

Value

a data.frame that is the same format as inputData, but where the observations are the new, compressed conversational turns.

Examples

newChat = batchFlattenSelf(inputData = sample_chat_processed, 
inputType="chat", meetingId = "batchMeetingId", 
speakerId="userName", gapLength=120)

newTranscript = batchFlattenSelf(inputData = sample_transcript_processed, 
inputType="transcript", meetingId = "batchMeetingId", 
speakerId="userName", gapLength=120)

andrewpknight/zoomGroupStats documentation built on April 14, 2022, 6:16 a.m.