rpdo

stability-stable Travis-CI Build Status Coverage Status License: CC0 CRAN_Status_Badge CRAN Downloads

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.

Installation

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")

Usage

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.

Citation


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},
  }

Contribution

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.

See Also

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

Information

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