# NOT RUN {
my.dates <- c('2000/1/1', '2001/12/30')
download.prism('ppt', date.range=my.dates, time.step='monthly', by.year=TRUE)
# Download monthly precipitation data Jan 1st 2000 to Feb 10th 2000 (n=41)
my.dates <- c('2000/1/1', '2000/2/10')
download.prism('ppt', date.range=my.dates, time.step='daily', by.year=TRUE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab