weathR: Interact with the U.S. National Weather Service API

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.

Getting started

Package details

AuthorJeffrey Fowler [aut, cre, cph] (<https://orcid.org/0009-0003-9448-0980>)
MaintainerJeffrey Fowler <JeffreyF6120@gmail.com>
LicenseMIT + file LICENSE
Version0.1.0
URL https://github.com/JeffreyFowler/weathR
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("weathR")

Try the weathR package in your browser

Any scripts or data that you put into this service are public.

weathR documentation built on April 4, 2025, 1:38 a.m.