dbhydroR v0.2-7

0

Monthly downloads

0th

Percentile

'DBHYDRO' Hydrologic and Water Quality Data

Client for programmatic access to the South Florida Water Management District's 'DBHYDRO' database at <https://www.sfwmd.gov/science-data/dbhydro>, with functions for accessing hydrologic and water quality data.

Readme

Programmatic access to the South Florida Water Management District's DBHYDRO database

Project Status: Active - The project has reached a stable, usable state and is being actively developed. Travis-CI Build Status CRAN\_Status\_Badge CRAN RStudio mirror downloads DOI

dbhydroR provides scripted access to the South Florida Water Management District's DBHYDRO database which holds over 35 million hydrologic and water quality records from the Florida Everglades and surrounding areas.

Installation

Stable version from CRAN

install.packages("dbhydroR")

or development version from Github

install.packages("devtools") # Requires RTools if using Windows

devtools::install_github("ropensci/dbhydroR")

Usage

Load dbhydroR

library("dbhydroR")

Water Quality Data

Station IDs and date ranges can be viewed in the Environmental Monitoring Location Maps. Test names can be viewed in the Data Types Metadata Table.

One variable at one station

get_wq(station_id = "FLAB08", date_min = "2011-03-01", 
      date_max = "2012-05-01", test_name = "CHLOROPHYLLA-SALINE")

One variable at multiple stations

get_wq(station_id = c("FLAB08","FLAB09"), date_min = "2011-03-01",
      date_max = "2012-05-01", test_name = "CHLOROPHYLLA-SALINE")

One variable at a wildcard station

get_wq(station_id = c("FLAB0%"), date_min = "2011-03-01", 
      date_max = "2012-05-01", test_name = "CHLOROPHYLLA-SALINE")

Multiple variables at multiple stations

get_wq(station_id = c("FLAB08","FLAB09"), date_min = "2011-03-01",
      date_max = "2012-05-01", test_name = c("CHLOROPHYLLA-SALINE",
      "SALINITY"))

Operate on raw data

raw_data <- get_wq(station_id = "FLAB08", date_min = "2011-03-01", 
      date_max = "2012-05-01", test_name = "CHLOROPHYLLA-SALINE", raw = TRUE)

clean_wq(raw_data)

Hydrologic data

Station IDs and date ranges can be viewed in the Environmental Monitoring Location Maps.

Identify unique time series (dbkeys) before-hand

get_dbkey(stationid = "C111%", stat = 'MEAN', category = "WQ", detail.level = "full")
get_hydro(dbkey = 38104, date_min = "2009-01-01", date_max = "2009-01-12")

Pass station info on-the-fly

get_hydro(date_min = "2013-01-01", date_max = "2013-02-02",
         stationid = "JBTS", category = "WEATHER", param = "WNDS",
         freq = "DA", stat = "MEAN", recorder = "CR10", agency = "WMD")

Operate on raw data

raw_data <- get_hydro(date_min = "2013-01-01", date_max = "2013-02-02",
         stationid = "JBTS", category = "WEATHER", param = "WNDS",
         freq = "DA", stat = "MEAN", recorder = "CR10", agency = "WMD", raw = TRUE)

clean_hydro(raw_data)

References

vignette("dbhydroR", package = "dbhydroR")

DBHYDRO User's Guide

Meta

  • Please report any issues or bugs.

  • Get citation information for dbhydroR in R by running citation(package = 'dbhydroR')

  • Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms

ropensci\_footer

Functions in dbhydroR

Name Description
clean_hydro Clean raw hydrologic DBHYDRO data retrievals
dbhydroR-package dbhydroR
clean_wq Clean raw water quality DBHYDRO data retrievals
get_dbkey Query dbkey information
get_hydro Retrieve hydrologic data from the DBHYDRO Environmental Database
get_wq Retrieve water quality data from the DBHYDRO Environmental Database
No Results!

Vignettes of dbhydroR

Name
bib.bib
dbhydroR.Rmd
sfwmd_bar8half_wordorexcel.png
No Results!

Last month downloads

Details

URL https://github.com/ropensci/dbhydroR
BugReports https://github.com/ropensci/dbhydroR/issues
License GPL
LazyData true
RoxygenNote 6.1.1
VignetteBuilder knitr
NeedsCompilation no
Packaged 2019-02-15 13:46:46 UTC; jose
Repository CRAN
Date/Publication 2019-02-15 14:10:03 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/dbhydroR)](http://www.rdocumentation.org/packages/dbhydroR)