well_formated_directory: Check the raw data directory

View source: R/A_fileop.R

well_formated_directoryR Documentation

Check the raw data directory

Description

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

Usage

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

## Not run: 
well_formated_directory(getOption("path.to.raw_v2"))

## End(Not run)

mpio-be/SNB2 documentation built on Sept. 17, 2024, 4:27 p.m.