rsoi

An R package to download the most up to date climate indices.
https://github.com/boshek/rsoi

Category: Climate Change
Sub Category: Climate Data Access and Visualization

Keywords

cran oceanic-nino oceanography r

Last synced: about 2 hours ago
JSON representation

Repository metadata

Import Climate Indices into R

README.Rmd

          ---
output: github_document
---


```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/",
  warning = FALSE
)
```



[![R-CMD-check](https://github.com/boshek/rsoi/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/boshek/rsoi/actions/workflows/R-CMD-check.yaml)

[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/rsoi)](https://cran.r-project.org/package=rsoi) [![CRAN Downloads](https://cranlogs.r-pkg.org/badges/rsoi?color=brightgreen)](https://CRAN.R-project.org/package=rsoi) [![cran checks](https://cranchecks.info/badges/worst/rsoi)](https://cran.r-project.org/web/checks/check_results_rsoi.html)


# rsoi
An R package to download the most up to date of these climate indices:

- Southern Oscillation Index
- Oceanic Nino Index 
- North Pacific Gyre Oscillation
- North Atlantic Oscillation
- Arctic Oscillation
- Antarctic Oscillation
- Multivariate ENSO Index Version 2
- Pacific Decadal Oscillation
- Dipole Mode Index

## Installation
For the development version 

```{r, eval = FALSE, echo = TRUE}
install.packages("rsoi")

library(rsoi)
library(tibble)
```

```{r, eval = TRUE, echo = FALSE}
library(rsoi)
library(tibble)
```

## Usage
Download Oceanic Nino Index data
```{r, eval = TRUE, echo = TRUE, warning=FALSE, message=FALSE}
oni <- download_oni()
head(oni)
```

And a quick plot to illustrate the data:
```{r plot, eval = TRUE, echo = TRUE, warning=FALSE, message=FALSE}
barcols <- c('#edf8b1', '#7fcdbb', '#2c7fb8')

barplot(
  oni$ONI,
  names.arg = oni$Date,
  ylab = "Oceanic Nino Index",
  col = barcols[oni$phase],
  border = NA,
  space = 0,
  xaxt = "n"
)
```

## Inspired by
The idea for this package borrows heavily from the `rpdo` package. `rsoi` now supercedes `rpdo` as a source of data in R for Pacific Decadal Oscillation. 



        

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 2 days ago

Total Commits: 192
Total Committers: 5
Avg Commits per committer: 38.4
Development Distribution Score (DDS): 0.146

Commits in past year: 5
Committers in past year: 1
Avg Commits per committer in past year: 5.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Sam Albers s****s@g****m 164
Elio Campitelli e****i@g****m 25
runner r****r@M****l 1
runner r****r@M****l 1
runner r****r@M****l 1

Issue and Pull Request metadata

Last synced: 6 days ago

Total issues: 31
Total pull requests: 30
Average time to close issues: 5 months
Average time to close pull requests: 3 days
Total issue authors: 8
Total pull request authors: 2
Average comments per issue: 1.74
Average comments per pull request: 1.37
Merged pull request: 26
Bot issues: 0
Bot pull requests: 0

Past year issues: 4
Past year pull requests: 6
Past year average time to close issues: 11 days
Past year average time to close pull requests: 6 days
Past year issue authors: 3
Past year pull request authors: 1
Past year average comments per issue: 2.25
Past year average comments per pull request: 0.83
Past year merged pull request: 4
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/boshek/rsoi

Top Issue Authors

  • boshek (18)
  • eliocamp (7)
  • ddgrespan (1)
  • yfhuang7 (1)
  • HunterGleason (1)
  • joethorley (1)
  • CorLeonis-FFXV (1)
  • tsparksm (1)

Top Pull Request Authors

  • boshek (19)
  • eliocamp (11)

Top Issue Labels

  • enhancement (2)
  • bug (1)

Top Pull Request Labels


Package metadata

proxy.golang.org: github.com/boshek/rsoi

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/boshek/rsoi#section-documentation
  • Licenses:
  • Latest release: v0.5.3 (published over 5 years ago)
  • Last Synced: 2026-03-19T05:01:29.446Z (2 days ago)
  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 6.999%
    • Average: 8.173%
    • Dependent repos count: 9.346%
cran.r-project.org: rsoi

Import Various Northern and Southern Hemisphere Climate Indices

  • Homepage: https://boshek.github.io/rsoi/
  • Documentation: http://cran.r-project.org/web/packages/rsoi/rsoi.pdf
  • Licenses: GPL (≥ 3)
  • Latest release: 0.5.8 (published 8 days ago)
  • Last Synced: 2026-03-19T05:01:31.152Z (2 days ago)
  • Versions: 15
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 611 Last month
  • Docker Downloads: 42,005
  • Rankings:
    • Forks count: 10.871%
    • Stargazers count: 12.997%
    • Dependent repos count: 16.811%
    • Average: 20.508%
    • Dependent packages count: 27.984%
    • Downloads: 33.879%
  • Maintainers (1)

Dependencies

DESCRIPTION cran
  • R >= 3.3.0 depends
  • curl * imports
  • memoise * imports
  • stats * imports
  • utils * imports
  • testthat >= 2.1.0 suggests
  • tibble * suggests
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite

Score: 15.360653119692477