lazy_load | R Documentation |
loads data from multiple files into one data frame.
lazy_load(pattern, sep = "/", read = readr::read_csv)
pattern |
pattern describing the path to the files and variable names to extract from the path. Variables should be encapsulated in curly brackets. |
sep |
path seperator. Defaults to "/" |
read |
function used for reading the files. defaults to readr::read_csv |
## Not run:
lazy_load("testdata/logs/day{*}/log_study_{participant}_{*}_{TIME}_{*}_{CONDITION}.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.