importData: Monitoring: excel data import

Description Usage Arguments Examples

View source: R/monitoring.R

Description

Monitoring: excel data import

Usage

1
2
3
4
importData(xlsPath = NULL, metaTables = c("metadataTable",
  "commentTable"), moniTables = c("bsv4", "bsvAll", "tuberia", "inflow"),
  ignoredParNames = c("Temp_graphics_C", "DiverBaro_graphFictive_cm",
  "DiverBaro_cm"))

Arguments

xlsPath

full path to excel file http://192.168.22.12/svn/kwb/DEMEAU/Work Areas/WA1 MAR/TracerSVH/datosTOT_StVicen+_jun2008-abr2009OK.xls", if FALSE already imported data object moniDat is loaded (Default: NULL)

metaTables

vector with names of tables with meta information (Default: "metadataTable", "commentTable")

moniTables

vector with names of tables with monitoring data to be imported (Default: "bsv4", "bsvAll", "tuberia", "inflow")

ignoredParNames

vector of parNames that are ignored for storing (Default:Temp_graphics_C, DiverBaro_graphFictive_cm, DiverBaro_cm: syntetical or calculated parameters!)

Examples

1
2
3
4
5
6
7
8
### xlsDir needs to be set correctly !!!!!
xlsDir <- "C:/Users/mrustl/Documents/WC_Server/DEMEAU/Work Areas/WA1 MAR/TracerSVH"
xlsFile <- "datosTOT_StVicen_jun2008-abr2009OK.xls"
xlsPath <- file.path(xlsDir, xlsFile)
##importData(xlsPath=xlsPath)

#### Loading with stored moniDat.RData object
#importData()

KWB-R/kwb.demeau documentation built on Sept. 10, 2019, 12:19 p.m.