dbselect: dbselect

Description Usage Arguments Value

View source: R/dependanciesData.R

Description

Calculate average of variable and site/station selected by frequency selected in application.

Usage

1
2
3
4
5
6
7
dbselect(
  db,
  dayNightSelected,
  frequenceSelected,
  siteSelected,
  variableSelected
)

Arguments

db

data.table from mod_accessdata

dayNightSelected

String of day, night or all the day selected in application ("day","night","day/night")

frequenceSelected

: String of frequency (ex. "30 min", "hour", "day", "month")

siteSelected

String of site/station code selected in application (ex. "lgt/ec1" or c("lgt/ec1","lgt/bm1"))

variableSelected

String of variable code selected in application (ex. "FC" or c("FC","FCH4"))

Value

data.table with average of values by frequenceSelected


Rosalien/toolboxApps documentation built on Oct. 30, 2020, 7:07 a.m.