Learn R Programming

retimer (version 0.1.3)

read_tg: read_tg

Description

Reads a 'Praat' TextGrid as a nested tibble

Usage

read_tg(file, encoding = "auto")

Value

Returns a nested tibble with `name`, `type` and `data`. `data` has the variables `t1`, `t2` and `label`

Arguments

file

path to TextGrid file

encoding

Passed to rPraat::tg.read: 'auto' (default) will detect encoding, or can be set to 'UTF-8' (rPraat default)