plot_daily_timeseries | R Documentation |
Writes a directory with plots for every weather data time series file
in the specified directory (as produced by the daily_timeseries
function and saved in the "data" subdirectory of the directory given in that
function's arguments) for a particular weather variable.
plot_daily_timeseries( var, date_min, date_max, data_directory, plot_directory, data_type = "rds" )
var |
A character string specifying which weather variable for which you would like to produce plots (the variable must be present in the timeseries dataframe). |
date_min |
A character string giving the earliest date present in the timeseries dataframe in "yyyy-mm-dd" format. |
date_max |
A character string giving the latest date present in the timeseries dataframe in "yyyy-mm-dd" format. |
data_directory |
The absolute or relative pathname for the directory
where your daily timeseries dataframes (produced by |
plot_directory |
The absolute or relative pathname for the directory where you would like the plots to be saved. |
data_type |
A character string indicating the type of timeseries files
you would like to produce plots for (either |
Writes out a directory with plots of timeseries data for a given weather variable for each file present in the directory specified.
## Not run: write_daily_timeseries(fips = c("37055", "15005"), coverage = 0.90, date_min = "1995-01-01", date_max = "1995-01-31", var = c("tmax", "tmin", "prcp"), out_directory = "~/timeseries") plot_daily_timeseries(var = "prcp", date_min = "1995-01-01", date_max = "1995-01-31", data_directory = "~/timeseries/data", plot_directory = "~/timeseries/plots_prcp") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.