Description Usage Arguments Value Author(s) References
This function calculates the monthly tax on consumers for safe drinking water. The tax depends on household water consumption as well as availability of clean water sources. During low precipitation months the city has to turn to more expensive sources of water like desalination or imported water, raising the price of the tax.
1 2 | calc_water_tax(precip_data, household_consumption, location, month_tax,
year)
|
precip_data |
Data frame that contains the following variables: water_year, Location, ID, month, and precip |
household_consumption |
Average household water consumption in gallons. Average in California is 86 gallons |
location |
One of three locations: "Paso Robles", "San Luis Obispo", or "Santa Barbara" |
month_tax |
The three-letter month code |
year |
The water year 2002 through 2019 |
Tax price in dollars
Jamie Miller and Anna Calle
citations or urls
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.