knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(RAWdataR)

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))
  }
}


thomasgredig/checkRAWfolder documentation built on Nov. 8, 2024, 4:17 a.m.