sensordbTable: Sensor DB Table Retrieving a table from the sensor database....

View source: R/sensordbTable.R

sensordbTableR Documentation

Sensor DB Table Retrieving a table from the sensor database. Created by JAZ, 2014-12-10; updated 2017-03-08

Description

Sensor DB Table Retrieving a table from the sensor database. Created by JAZ, 2014-12-10; updated 2017-03-08

Usage

sensordbTable(
  table,
  fpath = sensor_dbdir,
  dbname = sensor_db,
  lakeID = c(),
  minDepth_m = c(),
  maxDepth_m = c(),
  minDate = c(),
  maxDate = c(),
  dateFormat = c()
)

Arguments

table

The data table to be returned. Not case-sensitive.

dbname

Name of the database file. Default is whatever you've set to the variable sensor_db in your script.

lakeID

Vector of lakeID's that you want; default returns all lakeID's.

minDepth_m

Numeric value of minimum sensor depth

maxDepth_m

Numeric value of maximum sensor depth

minDate

Character string of minimum sample date in standard unambiguous format (i.e. YYYY-MM-DD, YYYY-MM-DD HH:MM, or YYYY-MM-DD HH:MM:SS)

maxDate

Character string of maximum sample date in standard unambiguous format (i.e. YYYY-MM-DD, YYYY-MM-DD HH:MM, or YYYY-MM-DD HH:MM:SS)

dateFormat

Character string of date format if not in standard unambiguous format (i.e. '%y/%m/%d')

depthClass

Vector of depthClass values that you want; default returns all depthClasses (i.e. PML, hypo, etc...)

Value

Database table, pulled from the sensor database, filtered by the specified parameters if applicable.


MFEh2o/MFEUtilities documentation built on May 6, 2023, 1:33 p.m.