get_dsi3240: Download Hourly Precipitation Data (HPD)

Description Usage Arguments Value References

Description

This function downloads digital data set DSI-3240 which is hourly precipitation archived at the National Climatic Data Center (NCDC).Data will be downloaded State wise User will need to install 7zip to unzip compressed "tar.Z" raw files.

Usage

1
get_dsi3240(state = NULL, state.code = NULL, dirc = getwd())

Arguments

state

(character) state name abbreviation. Required if state.code =NULL

state.code

(Numerical) State code according to the documentation of DSI-3240. Required if state =NULL

dirc

(character) path to store downloaded files. Default: current diretectory.

Value

A data.frame containing site id , timestamp , houly precipitation in inch and flags.

References

ftp://ftp.ncdc.noaa.gov/pub/data/hourly_precip-3240/dsi3240.pdf


mrubayet/rDSI documentation built on Aug. 24, 2019, 9:31 p.m.