box_fetch2: A kind wrapper on 'boxr::box_fetch()'.'

Description Usage Arguments Examples

Description

Only downloads files matching specific patterns from a Box folder. Useful for only downloading certain file types. Also saves a .csv with version information for the downloaded files.

Usage

1
2
box_fetch2(box_dir, local_dir = ".", files = c("xls", "csv", "txt"),
  ...)

Arguments

box_dir

A integer specifying a Box folder id.

local_dir

Character. Local directory path.

files

Character. File extensions to be downloaded.

...

... Arguments passed to boxr::box_dl().

Examples

1
2
3
4
## Not run: 
box_fetch2(box_dir)

## End(Not run)

hemoshear/assayr2 documentation built on Nov. 8, 2019, 6:13 p.m.