An R Package of Pacific Decadal Oscillation Index Data
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
data-raw
data
docs
man
revdep
tests
.Rbuildignore
.gitignore
.travis.yml
CONDUCT.md
DESCRIPTION
NAMESPACE
NEWS.md
README.Rmd
README.md
_pkgdown.yml
appveyor.yml
build.R
codecov.yml
cran-comments.md
rpdo.Rproj

README.md

rpdo

lifecycle Travis-CI Build Status AppVeyor build status Coverage Status License: CC0 CRAN_Status_Badge DOI

rpdo is an R data package of Monthly Pacific Decadal Oscillation (PDO) index values from January 1900 to September 2018.

The function pdo_download() scrapes the most recent data from http://research.jisao.washington.edu/pdo/PDO.latest.

Demonstration

library(rpdo)
library(ggplot2)

data <- rpdo::pdo

data <- subset(data, data$Month == 1)

ggplot(data = data, aes(x = Year, y = PDO)) + 
geom_smooth(span = 0.1, se = FALSE, color = "black", method = 'loess') + geom_point() + ylab("January PDO Index")

Pacific Decadal Oscillation (PDO) Index for January by year.

Installation

To install the latest official release from CRAN

install.packages("rpdo")

See Also

The rsoi package which provides El Nino/Southern Oscillation (ENSO) and Related Climate Indices.

Information

For more information see http://research.jisao.washington.edu/pdo/PDO.latest.