Functions to Convert Between Weather Metrics
Overview
Functions to convert between weather metrics, including conversions for metrics of temperature, air moisture, wind speed, and precipitation. This package also includes functions to calculate the heat index from air temperature and air moisture.
Added new functions to convert wind speed and precipitation:
- **
convert_wind_speed:** Convert a vector of wind speed measurements between common units of wind speed measure (in knots, miles per hour, meters per second, feet per second, and kilometers per hour). - **
convert_precip:** Convert a vector of precipitation measurements between common units of precipitation measure (in inches, millimeters, and centimeters). - **
convert_temperature:** Convert a vector of temperature values between common units of temperature measure (in degrees Celsius, Fahrenheit, and Kelvins)
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Brooke Anderson <brooke.anderson@colostate.edu>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 28includes a package overview page
- Examples that run
- 100%16 run in a plain check
- Exported functions with examples
- 94%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 32%
- weathermetrics HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 0
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/geanders/weathermetrics on 2026-10-21.
Dependencies
Installing weathermetrics adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- archivedRemoved from CRAN2014-09-19vignette locations were never updated for R 3.1.0
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
- 2.15.2Latest
Show 4 earlier eventsHide 4 earlier events
- 1.2.22016-05-19 · diff ↗ ·
added 11 exports
celsius.to.kelvin, convert_precip, convert_temperature, convert_wind_speed, fahrenheit.to.kelvin, inches_to_metric, kelvin.to.celsius, kelvin.to.fahrenheit, knots_to_speed, metric_to_inches, speed_to_knots - 1.2.02015-12-22 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 6 exports
celsius.to.fahrenheit, dewpoint.to.humidity, fahrenheit.to.celsius, heat.index, heat.index.algorithm, humidity.to.dewpoint - 1.02012-08-07
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2012-07-30
- Total releases
- 4 / 14 yrs
- License
- GPL-2 OSI · relicensed from MIT + file LICENSE in 1.2.2
- Minimum R
- ≥ 2.10
- Bundled data
- 2.5 KB / 10 files
- Download size
- 32 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("weathermetrics")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.