importers: Read Excel file Water Quantity

Description Usage Arguments Value Examples

Description

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.

Usage

1
2
3
read_swuds_quant(file_path)

read_swuds_pop(file_path)

Arguments

file_path

path to Excel file

Value

data frame

Examples

1
2
3
4
5
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"))

USGS-R/wateRuse_swuds documentation built on Dec. 8, 2019, 9:47 a.m.