Skip to contents

List files in a directory

Usage

wb_list(
  path,
  recursive = FALSE,
  user = Sys.getenv("WEBBER_USR"),
  wb_path = Sys.getenv("WEBBER_WBPATH")
)

Arguments

path

Character. The path to the image, sans wb_path

recursive

Logical. Should folders of folders be recursively indexed into?

user

Whose folder should this file be pulled from?

wb_path

Character. Path to the top level directory that contains all western blots.

Value

a data.frame with the path to the item on SharePoint

Examples

if (FALSE) {
wb_list(
  "2022-02-04_mcconkey_fgfr3",
  recursive = TRUE,
  user = "aragaki-kai",
  wb_path = "Raw Data/ChemiDoc"
)
wb_list(
  "2022-02-04_mcconkey_fgfr3",
  recursive = FALSE,
  user = "aragaki-kai",
  wb_path = "Raw Data/ChemiDoc"
)
}