phonfieldwork (version 0.0.10)

srt_to_df: 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.

Examples

Run this code
# NOT RUN {
srt_to_df(system.file("extdata", "test.srt", package = "phonfieldwork"))
# }

Run the code above in your browser using DataCamp Workspace