climatekit: Unified Climate Indices for Temperature, Precipitation, and Drought

Compute the standard suite of climate indices from daily weather observations. Provides the canonical 'ETCCDI' 27 (Expert Team on Climate Change Detection and Indices), the 'ET-SCI' heatwave and cold-wave families plus the Excess Heat Factor of Nairn and Fawcett (2013), and agroclimatic, drought, and human-comfort families. Drought indices ('SPI', 'SPEI') accept a choice of distribution (gamma or Pearson III for SPI; log-logistic or generalised extreme value for SPEI). Reference evapotranspiration is available via Hargreaves and the FAO-56 Penman-Monteith method (Allen et al. 1998). Percentile-based indices support the Zhang (2005) in-base bootstrap. Daily inputs are numeric vectors plus a 'Date' vector; outputs are tidy data frames. Optional gridded support via 'terra' applies any index over a 'SpatRaster' and reads 'netCDF' input. No external API calls; pairs with data packages such as 'readnoaa'. References: Alexander et al. (2006) <doi:10.1029/2005JD006290>; Zhang et al. (2011) <doi:10.1002/wcc.147>; Zhang et al. (2005) <doi:10.1175/JCLI3366.1>.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: cli (≥ 3.6.0), stats, tools
Suggests: testthat (≥ 3.0.0), terra, ncdf4, knitr, rmarkdown
Published: 2026-05-09
DOI: 10.32614/CRAN.package.climatekit
Author: Charles Coverdale [aut, cre]
Maintainer: Charles Coverdale <charlesfcoverdale at gmail.com>
BugReports: https://github.com/charlescoverdale/climatekit/issues
License: MIT + file LICENSE
URL: https://charlescoverdale.github.io/climatekit/, https://github.com/charlescoverdale/climatekit
NeedsCompilation: no
Language: en-GB
Citation: climatekit citation info
Materials: README, NEWS
CRAN checks: climatekit results

Documentation:

Reference manual: climatekit.html , climatekit.pdf
Vignettes: Migrating from climdex.pcic (source, R code)

Downloads:

Package source: climatekit_0.2.0.tar.gz
Windows binaries: r-devel: climatekit_0.1.0.zip, r-release: climatekit_0.1.0.zip, r-oldrel: climatekit_0.1.0.zip
macOS binaries: r-release (arm64): climatekit_0.2.0.tgz, r-oldrel (arm64): climatekit_0.2.0.tgz, r-release (x86_64): climatekit_0.2.0.tgz, r-oldrel (x86_64): climatekit_0.2.0.tgz
Old sources: climatekit archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=climatekit to link to this page.