pdsi_get: Get US Palmer Drought Severity Index Data

Description Usage Arguments Examples

View source: R/pdsi_get.R

Description

If the package already has the most current version of the data, you can simply load the pdsi data set using data(pdsi)

Usage

1
pdsi_get(url = "climdiv-pdsidv-v1.0.0-20180604", update = FALSE)

Arguments

url

name of current NCDC Palmer Drought Severity Index file located at https://www1.ncdc.noaa.gov/pub/data/cirs/climdiv/ (e.g., file in June 2018 is 'climdiv-pdsidv-v1.0.0-20180604')

update

logical (default FALSE); update current PDSI data associated with package?

Examples

1
2
3
4
5
## Not run: 
# File name changes with each NCDC monthly update, so modify accordingly
get_pdsi("climdiv-pdsidv-v1.0.0-20180604")

## End(Not run)

adamdsmith/pdsi documentation built on May 28, 2019, 5:39 a.m.