srt_to_df {phonfieldwork}R 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"))

[Package phonfieldwork version 0.0.14 Index]