R/alt_parse_dir.R

Defines functions alt_parse_dir

alt_parse_dir<-function(DIR=choose.dir()){
  require(parallel);
  FLS <-list.files(path=DIR,recursive=T,full.names=T,pattern="details.xml$")
  size.of.list <- length(FLS);
  cl <- makeCluster( min(size.of.list, detectCores()) );
  work<-parallel::parLapply(cl=cl,FLS,deltails::try_null)
  Out<-dplyr::bind_rows(work)
  stopCluster(cl);
 Out
}
JARS3N/details documentation built on April 26, 2020, 9:16 p.m.