Description Usage Arguments Value Author(s)
Writing / Updating SQLite database which is used for downloading data with the SWC calibration tool (shiny app).
1 | dB_updatedb(stations, variables, path2data, inCloud, write.csv, return_data)
|
stations |
character vector, station to update, e.g. c("B0001", "B0002", "B0003") |
variables |
character, which variables to read, e.g "TOTAL" for unqueried data set, "METEO" for meteorological data, "SWC" for soil moisture, "TSoil" for soil temperature |
inCloud |
character, path where database is stored, if NULL database will be stored in package directory of SMCcalibration where it is needed for plugging in the calibration tool, default: ownCloud directory data, download link. |
write.csv |
boolean, if TRUE data is written in .csv files station wise, default: FALSE |
return_data |
boolean, if TRUE data is returned, default: TRUE |
List containing time series zoo objects; names as argument stations
SQLite data base in the inCloud folder; if write.csv is TRUE, station wise .csv files (pretty format, to read with readr::read_csv or data.table::fread)
Johannes Brenner, johannesbrenner@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.