srt_to_df: Subtitles .srt file to dataframe

View source: R/srt_to_df.R

srt_to_dfR Documentation

Subtitles .srt file to dataframe

Description

Convert subtitles .srt file to a dataframe.

Usage

srt_to_df(file_name)

Arguments

file_name

string with a filename or path to the .srt file

Value

a dataframe with columns: id, content, time_start, time_end, source.

Author(s)

George Moroz <agricolamz@gmail.com>

Examples

srt_to_df(system.file("extdata", "test.srt", package = "phonfieldwork"))

phonfieldwork documentation built on June 22, 2024, 12:19 p.m.