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.
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.