get_age: Get age

Description Usage

View source: R/get_age.R

Description

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).

Usage

1
get_age(this.transcript)

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