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 3 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
)
```



[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) 
[![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: 8 days ago

Total Commits: 187
Total Committers: 5
Avg Commits per committer: 37.4
Development Distribution Score (DDS): 0.15

Commits in past year: 4
Committers in past year: 2
Avg Commits per committer in past year: 2.0
Development Distribution Score (DDS) in past year: 0.25

Name Email Commits
Sam Albers s****s@g****m 159
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

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 27
Total pull requests: 24
Average time to close issues: 6 months
Average time to close pull requests: 2 days
Total issue authors: 6
Total pull request authors: 2
Average comments per issue: 1.67
Average comments per pull request: 1.5
Merged pull request: 22
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
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 (16)
  • eliocamp (7)
  • ddgrespan (1)
  • yfhuang7 (1)
  • HunterGleason (1)
  • joethorley (1)

Top Pull Request Authors

  • boshek (13)
  • 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 almost 5 years ago)
  • Last Synced: 2025-04-29T14:03:38.075Z (1 day 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://github.com/boshek/rsoi/
  • Documentation: http://cran.r-project.org/web/packages/rsoi/rsoi.pdf
  • Licenses: GPL-3
  • Latest release: 0.5.6 (published over 1 year ago)
  • Last Synced: 2025-04-29T14:03:38.221Z (1 day ago)
  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 263 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

Score: 15.305935178286761