get_age: Get age

Description Usage

View source: R/get_age.R


Attempts to calculate the child's age at recording from .cha file (CHAT formatted transcript, as from the CHILDES database). It begins by looking for the child's age in the ID headers at the top of the file. If unsuccessful, it goes on to check for date of recording and date of birth in the headers and calculates age from those. If date of recording and date of birth are not both provided, it checks for possible age information encoded in the file names (as is the case for some corpora).



rosemm/corpus_utils documentation built on May 27, 2019, 11:31 p.m.