DBHYDRO_breakpoint: Data retrieval from South Florida Water Management District...

View source: R/DBHYDRO_breakpoint.R

DBHYDRO_breakpointR Documentation

Data retrieval from South Florida Water Management District online database (DBHYDRO)

Description

Data retrieval from South Florida Water Management District online database (DBHYDRO)

Usage

DBHYDRO_breakpoint(
  SDATE,
  EDATE,
  DBK,
  dataonly = TRUE,
  period = "uspec",
  v_target_code = "file_csv",
  ...
)

Arguments

SDATE

input start date as.Date (YYYY-MM-DD)

EDATE

input end date as.Date (YYYY-MM-DD)

DBK

SFWMD daily data site and data type identifier

dataonly

DEFAULT is TRUE to return a data.frame of data, if set to FALSE it will return a nested list of two data.frame labeled METADATA and REPORT.

period

DEFAULT set to "uspec" for URL query

v_target_code

DEFAULT set to "file_csv" to return a CSV file

...

to allow for more functionality and flexibility in building URL queries

Value

This function returns breakpoint (i.e. 15-minute) hydrometerological (discharge, stage(WL) and meterological parameters) dataset from the SFWMD monitoring network (https://apps.sfwmd.gov/WAB/EnvironmentalMonitoring/index.html). This function assumes some familiarity with the District monitoring network and data management.

Examples

## Not run: 
# Daily Discharge Data
sdate=as.Date("2001-05-01");
edate=as.Date("2001-06-01");
dat=DBHYDRO_breakpoint(SDATE,EDATE,"AI516")

## End(Not run)

SwampThingPaul/AnalystHelper documentation built on May 15, 2024, 1:32 p.m.