Interact with the U.S. National Weather Service API
Overview
Enables interaction with the National Weather Service application programming web-interface for fetching of real-time and forecast meteorological data. Users can provide latitude and longitude, Automated Surface Observing System identifier, or Automated Weather Observing System identifier to fetch recent weather observations and recent forecasts for the given location or station. Additionally, auxiliary functions exist to identify stations nearest to a point, convert wind direction from character to degrees, and fetch active warnings. Results are returned as simple feature objects whenever possible.
- Initial CRAN submission.
- Provides access to NWS alert, forecast, and station data via API.
- Includes utility functions for converting between latitude/longitude and ASOS/AWOS station.
- Utilizes sf objects whenever possible.
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-19
- ERROR12 OK, 1 ERROR2026-10-18
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-30
Show 11 earlier changesHide 11 earlier changes
- ERROR12 OK, 1 ERROR2026-07-28
- OK13 OK2026-07-14
- ERROR12 OK, 1 ERROR2026-07-13
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- NOTE12 OK, 1 NOTE2026-06-07
- OK13 OK2026-05-12
- ERROR12 OK, 1 ERROR2026-05-09
- OK13 OK2026-05-08
- ERROR12 OK, 1 ERROR2026-05-06
- OK14 OK2026-03-10
Documentation
- Help pages
- 22 (1 internal)
- Examples that run
- 24%5 run in a plain check · 16 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 95%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
4 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/jeffreyfowler/weathr on 2026-10-25.
GitHub Pages site last deployed 2025-03-31
Dependencies
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.1.0Latest2025-04-02 · current release
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2025-04-02
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 14 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("weathR")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.