Function to read in SWUDS Water Quantity Excel and SWUDS Population Served Excel file into a dataframe and converts column names to NWIS codes using a lookup table.
read_swuds_quant(file_path) read_swuds_pop(file_path)
| file_path | path to Excel file |
|---|
data frame
sample_path <- system.file("extdata",package = "wateRuseSWUDS") df <- read_swuds_quant(file.path(sample_path, "OH_CTF_SW_monthly_permit_sample_data.xlsx")) dp <- read_swuds_pop(file.path(sample_path, "OHpopserved_output.xlsx"))