write_srt: Write a data frame of SubRip (SRT) parts to file

Description Usage Arguments Value

Description

Takes a data frame of SubRip subtitle components and writes them to file to the specification of the format.

Usage

1
write_srt(x, path, append = FALSE)

Arguments

x

Data frame to write to disk. Must contain the columns index, start, end, and text.

path

Path to write to.

append

If FALSE, will overwrite existing file. If TRUE, will append to existing file. In both cases, if file does not exist a new file is created.

Value

The input x, invisibly.


benjcunningham/subtitler documentation built on May 12, 2019, 11:56 a.m.