Document, document, document!
Load the data:
library(wateRuseSWUDS)
path_swuds <- system.file("extdata",package = "wateRuseSWUDS")
# Read in the water quantity table
dq <- read_swuds_quant(file.path(path_swuds,
"OH_CTF_SW_monthly_permit_sample_data.xlsx"))
# Read in the population served table
dp <- read_swuds_pop(file.path(path_swuds,
"OHpopserved_output.xlsx"))
# merge the tables
df <- merge_dq_dp(dq, dp)
#melt the table
df_melt <- melt_water_quant_pop(df)