powered by
Download data from the prism project for 30 year normals at 4km or 800m grid cell resolution for precipitation, mean, min and max temperature
get_prism_normals(type, resolution, mon = NULL, annual = FALSE, keepZip = TRUE)
The type of data to download, must be "ppt", "tmean", "tmin", or "tmax". Note that tmean == mean(tmin, tmax).
The spatial resolution of the data, must be either "4km" or "800m".
a numeric value for month, can be a numeric vector of months.
if TRUE download annual data
if TRUE, leave the downloaded zip files in your 'prism.path', if FALSE, they will be deleted
You must make sure that you have set up a valid download directory. This must be set as options(prism.path = "YOURPATH")
# NOT RUN { ### Get 30 year normal values for rainfall get_prism_normals(type="ppt",resolution = "4km",mon = 1, keepZip=FALSE) # }
Run the code above in your browser using DataLab