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/RAWdataR documentation built on Nov. 6, 2024, 9:46 a.m.