Closed bpbond closed 3 years ago
This PR adds TEMPESTX data through May 2021 (a total of 25 different measurement dates). It also changes the file-reading step to:
dat <- bind_rows(lapply(files, read_tsv, col_names = c("Timestamp", "Obs", "Port", "CO2_Flux", "Collar", "CH4_Flux"), col_types = "_Tdcddd_", skip = 1))
It also uses R's lapply function to run read_tsv for each filename in the folder; the resulting data are then concatenated together using dplyr::bind_rows into a single big data frame.
read_tsv
dplyr::bind_rows
FYI @ahopple
Closes #8
This PR adds TEMPESTX data through May 2021 (a total of 25 different measurement dates). It also changes the file-reading step to:
It also uses R's lapply function to run
read_tsv
for each filename in the folder; the resulting data are then concatenated together usingdplyr::bind_rows
into a single big data frame.FYI @ahopple
Closes #8