Learn R Programming

prism (version 0.1.0)

del_early_prov: Delete early / provisional PRISM data if replaced by provisional / stable data.

Description

Searches the download folder for duplicated PRISM data and keeps only the newest version.

Usage

del_early_prov(type, minDate = NULL, maxDate = NULL, dates = NULL)

Arguments

type

The type of data to download, must be "ppt", "tmean", "tmin", or "tmax". Note that tmean == mean(tmin, tmax).

minDate

a valid iso-8601 (e.g. YYYY-MM-DD) date to start downloading data. May be provided as either a character or Date class.

maxDate

a valid iso-8601 (e.g. YYYY-MM-DD) date to end downloading data. May be provided as either a character or Date class.

dates

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.