aou_ls_workspace {allofus}R Documentation

List the current files in your workspace

Description

Lists all data files in the workspace or files matching a certain pattern.

Usage

aou_ls_workspace(pattern = "", silent = FALSE, ...)

Arguments

pattern

Regular expression, such as "*.csv" or a single file name e.g., "mydata.csv". Default will find all files apart from notebooks (.ipynb, .Rmd, .qmd files).

silent

Whether to omit the names of files found. Defaults to FALSE.

...

Other arguments passed to list.files()

Value

A vector of file names

Examples

my_workspace_files <- aou_ls_workspace(silent = TRUE)
aou_ls_workspace("*.csv")
aou_ls_workspace(path = "data")


[Package allofus version 1.1.0 Index]