Description Usage Arguments Value Author(s)
A list that outputs for each year, for a specified location, whether the water supply is good, okay, or bad.
1 | water_supply(rain_data, location = "Brisbane", plot_out = FALSE)
|
rain_data |
data frame with columns Date, Location, Rainfall |
location |
specified location in the data frame you want to see, default is Brisbane |
plot_out |
specify if you want a plot proudced, default is FALSE |
Returns a list containing,
Each year within the dataset
Location specified
Sum of the rainfall for a year
Whether or not the water supply is good, okay, or bad
Annual Rainfall PlotShows a plot of annual rainfall in a specified location
Gage Clawson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.