phonfieldwork (version 0.0.13)

srt_to_df: Subtitles .srt file to dataframe

Description

Convert subtitles .srt file to a dataframe.

Usage

srt_to_df(file_name)

Value

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

Arguments

file_name

string with a filename or path to the .srt file

Author

George Moroz <agricolamz@gmail.com>

Examples

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

Run the code above in your browser using DataLab