read_facereader: Read Facereader file

Description Usage Arguments Value Examples

View source: R/read_clean.R

Description

Read Facereader file

Usage

1
read_facereader(file, subject = NULL, skip = NULL, ...)

Arguments

file

Path to the FaceReader .txt file to be read.

subject

A REGEX to extract from the source file a unique subject identifier. If NULL (default), the function will utilize the file name as the unique identifier (different from source which is derived from inside the file).

skip

Number of lines to skip before actual data is present in the file. If NULL (default), the function will attempt to find where the actual data start and estimate based off of front matter how many lines to skip when reading in the file.

...

Additional arguments to be passed to read.table

Value

Tidy data frame.

Examples

1
read_facereader(file = system.file("extdata/Participant 2_Trump_Analysis 1.txt", package="facereadeR"))

d-bohn/facereadeR documentation built on Aug. 21, 2021, 4:07 a.m.