Convert subtitles .srt file to a dataframe.
srt_to_df(file_name)
string with a filename or path to the .srt file
a dataframe with columns: id, content, time_start, time_end, source.
id
content
time_start
time_end
source
# NOT RUN { srt_to_df(system.file("extdata", "test.srt", package = "phonfieldwork")) # }
Run the code above in your browser using DataCamp Workspace