Learn R Programming

prism (version 0.1.0)

prism_webservice: Download PRISM via webservice

Description

This is the workhorse function that will access the web service to download files.

Usage

prism_webservice(uri, keepZip = FALSE, returnName = FALSE)

Arguments

uri

a valid PRISM webservice URI

keepZip

TRUE or FALSE, keep zip files once they have been unzipped

returnName

TRUE or FALSE, if TRUE the name of the file that was downloaded is returned

Examples

Run this code
# NOT RUN {
### Get all the data for January from 1990 to 2000
get_prism_annual(type="tmean", year = 1990:2000, keepZip=FALSE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab