Learn R Programming

tidyextreme (version 1.0.0)

A Tidy Toolbox for Climate Extreme Indices

Description

Calculate Expert Team on Climate Change Detection and Indices (ETCCDI) <-- (acronym) climate indices from daily or hourly temperature and precipitation data. Provides flexible data handling.

Copy Link

Version

Install

install.packages('tidyextreme')

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Marcio Baldissera Cure

Last Published

February 4th, 2026

Functions in tidyextreme (1.0.0)

calculate_TX90p

Calculate 90th percentile of daily temperature (TX90p)
calculate_TXx

Calculate monthly maximum value of daily maximum temperature (TXx)
list_indices

List available climate indices
calculate_WSDI

Calculate Warm Spell Duration Index (WSDI)
calculate_R1mm

Calculate number of days with precipitation \(\geq\) 1mm (R1mm)
calculate_R20mm

Calculate number of very heavy precipitation days (R20mm)
aggregate_hourly_temperature

Aggregate hourly data to daily temperature statistics
calculate_CSDI

Calculate Cold Spell Duration Index (CSDI)
calculate_PRCPstats

Calculate annual precipitation totals and statistics
calculate_DTR

Calculate diurnal temperature range (DTR)
calculate_CDD

Calculate consecutive dry days (CDD)
aggregate_hourly_precipitation

Aggregate hourly data to daily precipitation statistics
calculate_CWD

Calculate consecutive wet days (CWD)
calculate_R10mm

Calculate number of heavy precipitation days (R10mm)
calculate_TX30

Calculate number of days with temperature \(\geq\) 30\(^\circ\)C
calculate_TX35

Calculate number of days with temperature \(\geq\) 35\(^\circ\)C
calculate_TN10p

Calculate 10th percentile of daily temperature (TN10p)
calculate_TNn

Calculate monthly minimum value of daily minimum temperature (TNn)
calculate_SDII

Calculate Simple Daily Intensity Index (SDII)
calculate_TN0

Calculate number of days with temperature < 0\(^\circ\)C
calculate_TX25

Calculate number of summer days (TX > 25\(^\circ\)C)
calculate_Rx5day

Calculate maximum consecutive 5-day precipitation (Rx5day)
calculate_Rx1day

Calculate maximum 1-day precipitation (Rx1day)
calculate_TR20

Calculate number of tropical nights (TN > 20\(^\circ\)C)