View source: R/textgrid_to_df.R
textgrid_to_df | R Documentation |
Convert Praat TextGrid to a dataframe.
textgrid_to_df(file_name)
file_name |
string with a filename or path to the TextGrid |
a dataframe with columns: id
, time_start
,
time_end
(if it is an interval tier – the same as the start value),
content
, tier
, tier_name
and source
George Moroz <agricolamz@gmail.com>
textgrid_to_df(system.file("extdata", "test.TextGrid",
package = "phonfieldwork"
))
# this is and example of reading a short .TextGrid format
textgrid_to_df(system.file("extdata", "test_short.TextGrid",
package = "phonfieldwork"
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.