View source: R/extract_weather.R
extract_weather | R Documentation |
Read weather from a local cache and format it for use with the Donkey Dosing model
extract_weather(
path,
year = format(Sys.Date(), "%Y"),
use_cache = TRUE,
impute_missing = FALSE,
include_date = FALSE,
type = "OpenWeather"
)
path |
a path to a folder containing the raw weather data |
year |
the year for which to extract data |
use_cache |
should the cache file be used where possible? |
impute_missing |
should missing data be imputed? |
include_date |
should the date be included in the return value? |
type |
the source type for weather data (only OpenWeather is currently permitted) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.