Retrieves PRISM metadata for a given type and date range. The information is retrieved from the .info.txt file.
get_metadata(type, dates = NULL, minDate = NULL, maxDate = NULL)
The type of data to download, must be "ppt", "tmean", "tmin", or "tmax". Note that tmean == mean(tmin, tmax).
a vector of iso-8601 formatted dates to download data for, can
also be a single date. May be provided as either a character or
Date
class.
a valid iso-8601 (e.g. YYYY-MM-DD) date to start downloading data.
May be provided as either a character or Date
class.
a valid iso-8601 (e.g. YYYY-MM-DD) date to end downloading data.
May be provided as either a character or Date
class.
list of data.frames containing metadata. If only one date is requested, the function returns the data.frame.