All Projects â†’ boshek â†’ rsoi

boshek / rsoi

Licence: other
Import Climate Indices into R

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to rsoi

meta
Official Git repository of R package meta
Stars: ✭ 48 (+242.86%)
Mutual labels:  cran
UCSCXenaShiny
📊 An R package for interactively exploring UCSC Xena https://xenabrowser.net/datapages/
Stars: ✭ 52 (+271.43%)
Mutual labels:  cran
base
Scripts used to build R 3.3 - 3.6 on Windows (retired)
Stars: ✭ 42 (+200%)
Mutual labels:  cran
PackageDevelopment
Task View: PackageDevelopment
Stars: ✭ 38 (+171.43%)
Mutual labels:  cran
tidytree
🚿A Tidy Tool for Phylogenetic Tree Data Manipulation
Stars: ✭ 34 (+142.86%)
Mutual labels:  cran
rchess
♛ Chess package for R
Stars: ✭ 68 (+385.71%)
Mutual labels:  cran
FLightR
R package to position animals with solar geolocation archival tags
Stars: ✭ 16 (+14.29%)
Mutual labels:  cran
ctv-finance
CRAN Task View: Empirical Finance
Stars: ✭ 51 (+264.29%)
Mutual labels:  cran
rcppredis
R interface to Redis using the hiredis library
Stars: ✭ 45 (+221.43%)
Mutual labels:  cran
stoqs
Geospatial database visualization software for oceanographic measurement data
Stars: ✭ 31 (+121.43%)
Mutual labels:  oceanography
2020a SSH mapping NATL60
A challenge on the mapping of satellite altimeter sea surface height data organised by MEOM@IGE, Ocean-Next and CLS.
Stars: ✭ 17 (+21.43%)
Mutual labels:  oceanography
cran-network-structure
Scripts used for my UseR!2015 presentation on the network structure of CRAN
Stars: ✭ 22 (+57.14%)
Mutual labels:  cran
ctv
CRAN Task View Initiative
Stars: ✭ 17 (+21.43%)
Mutual labels:  cran
pbapply
Adding progress bar to '*apply' functions in R
Stars: ✭ 115 (+721.43%)
Mutual labels:  cran
xfun
Miscellaneous R functions
Stars: ✭ 102 (+628.57%)
Mutual labels:  cran
badgecreatr
Quickly place relevant badges at the top of your readme, stop copy pasting, start on your project
Stars: ✭ 61 (+335.71%)
Mutual labels:  cran
opendata
CRAN OpenData Task View
Stars: ✭ 192 (+1271.43%)
Mutual labels:  cran
rcppgsl
Rcpp integration for GNU GSL vectors and matrices
Stars: ✭ 28 (+100%)
Mutual labels:  cran
demography
demography package for R
Stars: ✭ 44 (+214.29%)
Mutual labels:  cran
cattonum
Encode Categorical Features
Stars: ✭ 31 (+121.43%)
Mutual labels:  cran

License: GPL v3 R-CMD-check

CRAN_Status_Badge CRAN Downloads cran checks

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

Installation

For the development version

install.packages("rsoi")

library(rsoi)
library(tibble)

Usage

Download Oceanic Nino Index data

oni <- download_oni()
head(oni)
#> # A tibble: 6 x 7
#>    Year Month Date       dSST3.4   ONI ONI_month_window phase             
#>   <int> <ord> <date>       <dbl> <dbl> <chr>            <fct>             
#> 1  1950 Jan   1950-01-01   -1.62 NA    <NA>             <NA>              
#> 2  1950 Feb   1950-02-01   -1.32 -1.34 JFM              Cool Phase/La Nina
#> 3  1950 Mar   1950-03-01   -1.07 -1.17 FMA              Cool Phase/La Nina
#> 4  1950 Apr   1950-04-01   -1.11 -1.18 MAM              Cool Phase/La Nina
#> 5  1950 May   1950-05-01   -1.37 -1.07 AMJ              Cool Phase/La Nina
#> 6  1950 Jun   1950-06-01   -0.74 -0.85 MJJ              Cool Phase/La Nina

And a quick plot to illustrate the data:

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].