read_measurementchains_data: Measurement Chains: read csv data from multiple files

View source: R/measurement-chains.R

read_measurementchains_dataR Documentation

Measurement Chains: read csv data from multiple files

Description

Measurement Chains: read csv data from multiple files

Usage

read_measurementchains_data(
  csv_files,
  datetime_installation = as_gmt_plus_one("2022-09-27 11:00:00"),
  run_parallel = TRUE,
  debug = FALSE
)

Arguments

csv_files

vector of paths as retrieved by download_measurementchains_data

datetime_installation

datetime of first logger installation in well K10. Used to filter out older measurement data! Default: kwb.geosalz:::as_gmt_plus_one("2022-09-27 11:00:00")

run_parallel

default: TRUE

debug

show debug messages (default: FALSE)

Value

data frame with imported data from csv files

Examples

## Not run: 
mc_files <- kwb.geosalz::get_measurementchains_files()
target_directory <- tempdir()
csv_files <- kwb.geosalz::download_measurementchains_data(
  sftp_paths = mc_files$sftp_path,
  target_directory
)
mc_data <- kwb.geosalz::read_measurementchains_data(csv_files)

## End(Not run)

KWB-R/kwb.geosalz documentation built on March 28, 2024, 9:05 p.m.