{"id":13948897,"url":"https://github.com/boshek/rsoi","last_synced_at":"2025-03-17T00:33:49.217Z","repository":{"id":19473890,"uuid":"86610275","full_name":"boshek/rsoi","owner":"boshek","description":"Import Climate Indices into R","archived":false,"fork":false,"pushed_at":"2023-11-02T18:10:28.000Z","size":1004,"stargazers_count":17,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-11T16:59:58.590Z","etag":null,"topics":["cran","oceanic-nino","oceanography","r"],"latest_commit_sha":null,"homepage":"https://boshek.github.io/rsoi/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boshek.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-03-29T17:24:58.000Z","updated_at":"2023-03-16T01:23:51.000Z","dependencies_parsed_at":"2022-08-07T09:15:21.530Z","dependency_job_id":"e8f25b7b-a0dc-4d27-8ec2-b5ee86e95ecd","html_url":"https://github.com/boshek/rsoi","commit_stats":{"total_commits":185,"total_committers":5,"mean_commits":37.0,"dds":0.1459459459459459,"last_synced_commit":"423a91bef1946ede1946e90b8d91e32750361f61"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boshek%2Frsoi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boshek%2Frsoi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boshek%2Frsoi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boshek%2Frsoi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boshek","download_url":"https://codeload.github.com/boshek/rsoi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243754035,"owners_count":20342538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cran","oceanic-nino","oceanography","r"],"created_at":"2024-08-08T05:01:33.784Z","updated_at":"2025-03-17T00:33:49.197Z","avatar_url":"https://github.com/boshek.png","language":"R","funding_links":[],"categories":["Climate Change"],"sub_categories":["Climate Data Access and Visualization"],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/\", \n  warning = FALSE\n)\n```\n\n\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) \n[![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)\n\n[![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)\n\n\n# rsoi\nAn R package to download the most up to date of these climate indices:\n\n- Southern Oscillation Index\n- Oceanic Nino Index \n- North Pacific Gyre Oscillation\n- North Atlantic Oscillation\n- Arctic Oscillation\n- Antarctic Oscillation\n- Multivariate ENSO Index Version 2\n- Pacific Decadal Oscillation\n- Dipole Mode Index\n\n## Installation\nFor the development version \n\n```{r, eval = FALSE, echo = TRUE}\ninstall.packages(\"rsoi\")\n\nlibrary(rsoi)\nlibrary(tibble)\n```\n\n```{r, eval = TRUE, echo = FALSE}\nlibrary(rsoi)\nlibrary(tibble)\n```\n\n## Usage\nDownload Oceanic Nino Index data\n```{r, eval = TRUE, echo = TRUE, warning=FALSE, message=FALSE}\noni \u003c- download_oni()\nhead(oni)\n```\n\nAnd a quick plot to illustrate the data:\n```{r plot, eval = TRUE, echo = TRUE, warning=FALSE, message=FALSE}\nbarcols \u003c- c('#edf8b1','#7fcdbb','#2c7fb8')\n\nbarplot(oni$ONI, names.arg = oni$Date, ylab = \"Oceanic Nino Index\" , \n    col = barcols[oni$phase], border = NA, space = 0,\n    xaxt = \"n\")\n```\n\n## Inspired by\nThe 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. \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboshek%2Frsoi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboshek%2Frsoi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboshek%2Frsoi/lists"}