rpdo
is an R data package of Monthly Pacific Decadal Oscillation (PDO) index values from January 1900 to December 2017.
The function pdo_download()
scrapes the most recent data from http://research.jisao.washington.edu/pdo/PDO.latest.
To install the most recent release from CRAN
install.packages("rpdo")
To install the development version from GitHub
# install.packages("devtools")
devtools::install_github("poissonconsulting/rpdo")
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")
To cite package 'rpdo' in publications use:
Joe Thorley, Nathan Mantua and Steven R. Hare (2018). rpdo:
Pacific Decadal Oscillation Index Data. R package version 0.2.3.
https://github.com/poissonconsulting/rpdo
A BibTeX entry for LaTeX users is
@Manual{,
title = {rpdo: Pacific Decadal Oscillation Index Data},
author = {Joe Thorley and Nathan Mantua and Steven R. Hare},
year = {2018},
note = {R package version 0.2.3},
url = {https://github.com/poissonconsulting/rpdo},
}
Please report any issues.
Pull requests are always welcome.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
The rsoi
package provides El Nino/Southern Oscillation (ENSO) and Related Climate Indices.
For more information see http://research.jisao.washington.edu/pdo/PDO.latest.