create_wordlists: Convenience function to create a WordList given a ResearchID,...

Description Usage Arguments Value

Description

Convenience function to create a WordList given a ResearchID, study and folder

Usage

1
2
3
4
5
6
7
create_nwr_wordlist_file(short_id, study_name, dir_task,
  dir_eprime = "Recordings", dir_wordlist = "WordLists", read_only = TRUE,
  update = FALSE)

create_rwr_wordlist_file(short_id, study_name, dir_task,
  dir_eprime = "Recordings", dir_wordlist = "WordLists", read_only = TRUE,
  update = FALSE)

Arguments

short_id

four-character short participant ID (e.g., "001L"). Use '""' for a wildcard search that will match all 4-character participants IDs.

study_name

name of an L2T study (e.g., "TimePoint1")

dir_task

the fully specified filepath to the folder for a Task. The value for 'study_name' should be a subfolder in this location.

dir_eprime

folder that contains Eprime output files. Defaults to '"Recordings"'.

dir_wordlist

folder where the WordList should be saved. Defaults to '"WordLists"'.

read_only

whether to protect the saved WordList. Defaults to 'TRUE'.

update

whether to update the saved WordList. Defaults to 'FALSE'.

Value

a list of the file-paths of the generated WordList files and the contents of the WordLists files (as data-frames).


LearningToTalk/L2TWordLists documentation built on May 8, 2019, 9:52 p.m.