RAW data file validation
RAW-data-file-validation.Rmd
Data File Validation
In order to find data at a later stage and foster enhanced search capabilities, we show here how to detect problems with file labeling and how to generate some statistics.
Validity
path.RAW = raw.getSamplePath()
file.list = dir(path.RAW)
for(f in file.list) {
if (!raw.isValid(f)) {
print(paste("Found file with invalid name: ",f))
}
}
#> [1] "Found file with invalid name: getAFMdbName.R"
#> [1] "Found file with invalid name: makeData.R"
#> [1] "Found file with invalid name: not-a-RAW-file.txt"
#> [1] "Found file with invalid name: zzz.R"