mc_read_long {myClim} | R Documentation |
Reading data from long data.frame
Description
This is universal function designed to read time series and values from long data.frame to myClim object.
Usage
mc_read_long(data_table, sensor_ids = list(), clean = TRUE, silent = FALSE)
Arguments
data_table |
long data.frame with Columns:
|
sensor_ids |
list with relations between sensor_names and sensor_ids (default list());
sensor_id is key from |
clean |
if TRUE, then mc_prep_clean is called automatically while reading (default TRUE) |
silent |
if TRUE, then any information is not printed in console (default FALSE) |
Details
Similar like mc_read_wide but is capable to read multiple sensors
from single table. Useful for data not coming from supported microclimatic
loggers. E.g. meteorological station data.
By default data are cleaned with function mc_prep_clean()
.
Value
myClim object in Raw-format