read_data: Function to read and merge data

Description Usage Arguments Value Examples

Description

The test, pilot and live datafiles are stored in the projects Github repository. This function reads, orders by date and merge the individual datafiles of the chosen repository. Alternatively the function can be used to read the downloaded results locally.

Usage

1
read_data(type, source = "download")

Arguments

type

character, either "test", "pilot" or "live"

source

character, either "download" or "local"

Value

The function returns a raw dataframe that contains all the trials from every participant.

Examples

1
tpp_raw_data <- read_data(type = "test")

marton-balazs-kovacs/tppr documentation built on Oct. 27, 2021, 3:04 p.m.