diff --git a/greenGrid/processGridSpyData.R b/greenGrid/processGridSpyData.R new file mode 100644 index 0000000000000000000000000000000000000000..2ac92f52031f565c99d2d137d4755bf1f4ed4d05 --- /dev/null +++ b/greenGrid/processGridSpyData.R @@ -0,0 +1,14 @@ +library(greenGridr) + + +fpath <- "/Volumes/hum-csafe/Research Projects/GREEN Grid/_RAW DATA/GridSpyData" # location of data +pattern <- "*at1.csv$" # filters only 1 min data + +filesDT <- list1mGridSpyFiles(fpath, pattern) + +# check +head(filesDT) + +# save the files out +outPath <- "~/Data/NZGreenGrid/gridspy/consolidated/" # place to save them +process1mGridSpyFiles(filesDT)