tier_to_df {phonfieldwork} | R Documentation |
TextGrid's tier to dataframe
Description
Convert selected tier from a Praat TextGrid to a dataframe.
Usage
tier_to_df(file_name, tier = 1)
Arguments
file_name |
string with a filename or path to the TextGrid |
tier |
value that could be either ordinal number of the tier either name of the tier. By default is '1'. |
Value
a dataframe with columns: id
, time_start
,
time_end
, content
, , tier_name
Author(s)
George Moroz <agricolamz@gmail.com>
Examples
tier_to_df(system.file("extdata", "test.TextGrid",
package = "phonfieldwork"
))
tier_to_df(
system.file("extdata", "test.TextGrid",
package = "phonfieldwork"
),
"intervals"
)
[Package phonfieldwork version 0.0.17 Index]