knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE, fig.width = 7, fig.height = 7) library(dplyr) library(tidyr) library(ggplot2) library(leaflet)
More information can be found here: https://groundwaterwatch.usgs.gov/composite/help/CompositeGroundwaterLevelHelpDocument.docx.html
https://groundwaterwatch.usgs.gov/composite/help/compositewaterlevels_helpdocument_7-7-2016.htm
see https://groundwaterwatch.usgs.gov/compositeaquifers.asp?ncd=BRF.
library(HASP) aquifer_long_name <- "Basin and Range basin-fill aquifers" aquiferCd <- summary_aquifers$nat_aqfr_cd[summary_aquifers$long_name == aquifer_long_name] states <- unlist(summary_aquifers$states[summary_aquifers$long_name == aquifer_long_name]) cat("Aquifer code: ", aquiferCd) cat("In states: ", paste(states, collapse = ", ") )
library(HASP) end_date <- "2019-12-31" state_date <- "1989-12-31" aquifer_data <- get_aquifer_data(aquiferCd, state_date, end_date)
aquifer_data <- aquifer_data
map <- map_hydro_data(aquifer_data, 30) map
plot_composite_data(aquifer_data, 30) + ggtitle(label = aquifer_long_name)
plot_normalized_data(aquifer_data, 30) + ggtitle(label = aquifer_long_name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.