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")
daily_timeseries
)
are saved."rds"
or "csv"
).
This option defaults to .rds files.## 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)
Run the code above in your browser using DataLab