getPrecipitation: Assemble a precipitation times series

Description Usage Arguments Value Examples

Description

This function retrieves monthly precipitation, minimum and maximum temperatures for a given area from PRISM model output hosted by the USGS Geo Data Portal (GDP)

Usage

1
getPrecipitation(start, end, geometry, att, val = NA)

Arguments

start

start date in format 'YYYY-MM-DD'

end

end date in format 'YYYY-MM-DD'

geometry

name of geometry as displayed in GDP

att

attribute of geometry as displayed in GDP

val

values of attribute as displayed in GDP

Value

monthly precipitation, averaged spatially over geometry

Examples

1
2
3
4
5
## Not run: 
prcp <- getPrecipitation('2010-01-01', '2010-12-31', 'sample:Counties', 'STATE',
'RI')

## End(Not run)

CityWaterBalance documentation built on May 2, 2019, 6:32 a.m.