Description Usage Arguments Value Examples
Writes a directory with plots for every weather data timeseries file
present in the specified directory (as produced by the write_hourly_timeseries
function) for a particular weather variable. These plots are meant to aid in
initial exploratory analysis.
1 2 | plot_hourly_timeseries(var, year, 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). |
year |
A year or vector of years giving the year(s) present in the time series dataframe. |
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 time series data for a given weather variable for each file present in the directory specified.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
write_hourly_timeseries(fips = c("08031", "12086"), year = c(1994, 1995),
coverage = 0.90, var = c("wind_speed", "temperature"),
out_directory = "~/timeseries_hourly")
plot_hourly_timeseries(var = "wind_speed", year = c(1994, 1995),
data_directory = "~/timeseries_hourly/data",
plot_directory = "~/timeseries_hourly/plots_wind_speed")
plot_hourly_timeseries(var = "temperature", year = c(1994, 1995),
data_directory = "~/timeseries_hourly/data",
plot_directory = "~/timeseries_hourly/plots_temperature")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.