Description Usage Arguments Details Value Examples
Convert the SubRip file format to a tabular data frame of times and text.
1 | read_srt(path, collapse = "\n")
|
path |
A path or connection to an |
collapse |
The character with which to separate subtitle lines. |
The SubRip format is a newline-separated, non-tabular text file with groups of subtitle text separated by a newline character and preceded by an index and a timestamp string containing the length of the spoken subtitle text. These components (index, time, text) can be parsed individually and combined into a data frame of subtitle groups.
A data frame of subtitles.
1 2 | # read linear text to tabular data
read_srt(srt_example(), collapse = " ")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.