well_formated_directory: Check the raw data directory

Description Usage Arguments Value Author(s) Examples

View source: R/A_fileop.R

Description

The function checks the proper directory format: year/date[prefix]/box/b000.txt

Usage

1
well_formated_directory(p = getOption("path.to.raw_v2"), y = year(Sys.Date()))

Arguments

p

path to raw data, default to getOption("path.to.raw")

Value

TRUE on success; the offending paths on failure.

Author(s)

MV

Examples

1
2
3
4
## Not run: 
well_formated_directory(getOption("path.to.raw_v2"))

## End(Not run)

mpio-be/SNB2 documentation built on March 27, 2020, 8:33 p.m.