Download and Visualize Essential Global Heating Data in R
Alternatives To Hockeystick
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
2 years ago15January 19, 202123gpl-3.0Python
:sweat_smile: Stress tests for the Raspberry Pi
a month ago4September 20, 20215otherR
Download and Visualize Essential Global Heating Data in R
6 years ago2otherPython
Package to import, analyze, and visualize data from the Global Historical Climatology Network - Daily (GHCN-D) Dataset 0
Python Dts Calibration25125 days ago34May 24, 202312bsd-3-clausePython
A Python package to load raw Distributed Temperature Sensing (DTS) files, perform a calibration, and plot the result.
a month ago1agpl-3.0Java
Standardised instrument control, data handling and simple GUI creation library for making experiment control programs.
2 years agomitPython
A python based, MPI enabled, Monte-Carlo calculation of 2D system using Metropolis algorithm.
Thermocam Tools15
7 months agoPython
Tools for processing DIY-Thermocam raw data
Temperature Plot13
6 years ago3mitHTML
Real-time Temperature Graph using Node.js,, Chart.js, Arduino UNO and LM-35 Temperature sensor.
a month agogpl-3.0Python
Visualize the HadCRUT5 temperature datasets
Course Pandas11
3 years agoAwk
Data processing with Pandas course for the CM Hub at Imperial College
Alternatives To Hockeystick
Select To Compare

Alternative Project Comparisons


Lifecycle: stable R-CMD-check CRAN status

The goal of hockeystick is to make essential Global Heating datasets easily available in R to non-climate experts. hockeystick users can download the latest raw data from authoritative sources as well as view it via pre-defined ggplot2 charts. Datasets include atmospheric CO2 and CH4, carbon emissions, instrumental, reconstructed, and paleo ice-core temperature records, sea levels, hurricanes, and Arctic/Antarctic sea-ice.

The choice of data was originally based on Professor Stefan Rahmstorfs presentation on The 5 Most Important Data Sets of Climate Science. I came across this on a post on the Open Mind blog. I wrote my own post on obtaining and visualizing this data (now out of date), which is the basis for this package. Additional datasets and visualizations have been added over The name of the package stems from the well known hockeystick temperature chart.

hockeystick was highlighted on the RStudio RViews blog by Joseph Rickert as one of the Top 40 new packages on CRAN in February 2021.

New in version 0.8.0: Daily temperature data from (see below).

New in version 0.7.0: Globally averaged methane (CH4) concentration from NOAA.

New in version 0.7.0: Cumulative emissions by country visualization.

New in version 0.6.0: Global CO2 emissions by region and country from GCP.


To install the latest hockeystick release from CRAN type:


You may alternatively install the development version from cortinah/hockeystick with:


Downloading and viewing global heating data

New: Plot daily global temperatures since 1979 and current anomaly:

globaldaily <- get_dailytemp()

Retrieve NOAA/ESRL Mauna Loa CO2 Observatory concentration data and plot:

ml_co2 <- get_carbon()

Retrieve GCP global CO2 emissions and plot:

emissions <- get_emissions()

Visualize cumulative emissions by country:


Retrieve NASA/GISS global surface temperature anomaly data and plot:

anomaly <- get_temp()

Visualize warming using Ed Hawkins styled warming stripes:

warming_stripes(stripe_only = TRUE, col_strip = viridisLite::viridis(11))

Retrieve tide gauge and satellite sea level data and plot:

gmsl <- get_sealevel()

Retrieve July annual Arctic Sea Ice Index and plot:

seaice <- get_seaice()

get_seaice() arguments can be modified to download Antarctic sea ice, and allow any month.

You can also visualize sea ice by month and year:

arcticice <- get_icecurves()

Retrieve Common Era temperature reconstruction and plot it with instrumental record:

anomaly2k <- get_temp2k()

Retrieve NOAA HURDAT2 hurricane data and plot:

hurricanes <- get_hurricanes()

Retrieve NOAA/ESRL CH4 Globally averaged mean data and plot:

ch4 <- get_methane()

Retrieve Vostok paleo ice core data and plot:

vostok <- get_paleo()

Managing the cache

By default, no climate data is cached, and all data is downloaded every time any of the get_ functions is called. To cache data for future use, use the write_cache = TRUE option, available in all of the get_ functions. To download and cache all data use hockeystick_update_all(). To view the files, date, and size of cached data use hockeystick_cache_details(). To re-download data from the source use the use_cache = FALSE argument in any of the get_ functions, for example: get_carbon(use_cache = FALSE, write_cache = TRUE). To delete all cached data use hockeystick_cache_delete_all().

Users may also cache data by default by adding options(hs_write_cache = TRUE)to their script or .Rprofile file.

All together now: climate data grid



Notes and resources

Popular Plot Projects
Popular Temperature Projects
Popular User Interface Components Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.