get_seedlings_speaker_stats: Calculates the number of Seedlings annotations in each...

View source: R/lena.R

get_seedlings_speaker_statsR Documentation

Calculates the number of Seedlings annotations in each interval (by speaker)

Description

Calculates the number of Seedlings annotations in each interval (by speaker)

Usage

get_seedlings_speaker_stats(intervals, annotations)

Arguments

intervals

A tibble with columns interval_start, interval_end, interval_start_wav, and recording_id as output by prepare_intervals. Can contain other columns.

annotations

A tibble loaded from a csv annotations file from the Seedlings project or similar

Value

A tibble with interval_start and interval_end columns for each interval in intervals and two new columns: speaker and n_annotations.


BergelsonLab/blabr documentation built on April 19, 2024, 7:21 p.m.