diff --git a/NAMESPACE b/NAMESPACE index 6355ea17b..32c364138 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -41,7 +41,8 @@ export(g.analyse, g.calibrate, convertEpochData, appendRecords, extractID, g.part5_analyseSegment, g.part5_initialise_ts, g.part5.analyseRest, part6AlignIndividuals, - part6PairwiseAggregation, g.part6, g.report.part6, check_log, g.report.part5_dictionary) + part6PairwiseAggregation, g.part6, g.report.part6, check_log, g.report.part5_dictionary, + create_part1_meta) importFrom("grDevices", "colors", "dev.off", "pdf", diff --git a/R/create_part1_meta.R b/R/create_part1_meta.R index aea8eeb0a..2d9950e7f 100644 --- a/R/create_part1_meta.R +++ b/R/create_part1_meta.R @@ -1,5 +1,4 @@ create_part1_meta = function(desired_outputdir = "output_test", - M, C, I, Ndays = 2, windowsizes = c(5, 900, 3600), lux = FALSE) { # function to create output folder structure and fill it with part 1 @@ -11,9 +10,7 @@ create_part1_meta = function(desired_outputdir = "output_test", dir.create("output_test/meta/basic", recursive = TRUE) dir.create("output_test/results/QC", recursive = TRUE) } - # part 1 metadata - data.calibrate = data.inspectfile = data.getmeta = NULL - data("data.calibrate"); data("data.inspectfile"); data("data.getmeta") + data(data.calibrate); data(data.inspectfile); data(data.getmeta) M = data.getmeta; C = data.calibrate; I = data.inspectfile # extend M$metashort from = as.POSIXct(M$metashort$timestamp[1], tz = "Europe/London")