swuds: Load and check swuds data

Description Usage Arguments Examples

Description

Load and check swuds data

Usage

1
2
3
4
5
6
create_swuds(path_pop, path_quant, ...)

## S3 method for class 'swuds'
summary(object, ...)

as_swuds(dq, dp = NULL)

Arguments

path_pop

file path to Excel file of population file

path_quant

file path to Excel file of water quantity file

...

additional paremeters sent to as_swuds.

object

swuds object

dq

data frame quanity

dp

data frame population

Examples

1
2
3
4
5
6
7
path_to_data <-  system.file("extdata", package="wateRuseSWUDS")
file_name_1 <- "OH_CTF_SW_monthly_permit_sample_data.xlsx"
file_name_2 <- "OHpopserved_output.xlsx"
excel_path_quant <- file.path(path_to_data, file_name_1)
excel_path_pop <- file.path(path_to_data, file_name_2)
swuds_1 <- create_swuds(excel_path_pop, excel_path_quant)
summary(swuds_1)

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