Package: weathR 0.1.0
weathR: Interact with the U.S. National Weather Service API
Enables interaction with the National Weather Service application programming web-interface for fetching of realtime 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.
Authors:
weathR_0.1.0.tar.gz
weathR_0.1.0.zip(r-4.7)weathR_0.1.0.zip(r-4.6)weathR_0.1.0.zip(r-4.5)
weathR_0.1.0.tgz(r-4.6-any)weathR_0.1.0.tgz(r-4.5-any)
weathR_0.1.0.tar.gz(r-4.7-any)weathR_0.1.0.tar.gz(r-4.6-any)
weathR_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
weathR/json (API)
NEWS
| # Install 'weathR' in R: |
| install.packages('weathR', repos = c('https://jeffreyfowler.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jeffreyfowler/weathr/issues
Last updated from:e6dcdd2520. Checks:8 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 159 | ||
| source / vignettes | OK | 195 | ||
| linux-release-x86_64 | OK | 150 | ||
| macos-release-arm64 | OK | 137 | ||
| macos-oldrel-arm64 | OK | 192 | ||
| windows-devel | OK | 120 | ||
| windows-release | OK | 121 | ||
| windows-oldrel | OK | 110 | ||
| wasm-release | FAIL | 1442 |
Exports:..point_forecast.point_data.point_forecast.station_data%>%alertsdir_as_chardir_as_integerpoint_datapoint_forecastpoint_stationpoint_todaypoint_tomorrowsafe_collapsestation_coordsstation_forecaststation_obsstation_pointstation_todaystation_tomorrowstation_tzstations_near
Dependencies:askpassclassclassIntclicpp11curlDBIdplyre1071genericsgluehmshttr2janitorjsonliteKernSmoothlifecyclelubridatelutzmagrittrMASSopensslpillarpkgconfigproxypurrrR6rappdirsRcpprlangs2sfsnakecasestringistringrsystibbletidyrtidyselecttimechangeunitsutf8vctrswithrwk
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Point Forecast Data and Local Timezone | ..point_forecast |
| Get the JSON Data for a Point | .point_data |
| Raw JSON Point Forecast Data | .point_forecast |
| Raw JSON Station Metadata | .station_data |
| National Weather Service Alerts | alerts |
| Convert Wind Direction from Numeric to Character | dir_as_char |
| Convert Wind Direction from a Character to an Integer | dir_as_integer |
| Get NWS Metadata for a Point | point_data |
| Point Forecast Data | point_forecast |
| Find Nearest ASOS/AWOS Station | point_station |
| Weather Observed Today at a Point | point_today |
| Weather Forecast for Tomorrow at a Point | point_tomorrow |
| Safe Collapse | safe_collapse |
| Station Coordinates | station_coords |
| Station Forecast | station_forecast |
| Station Observations | station_obs |
| Station Coordinates as a Point | station_point |
| Weather Observed Today at a Station Identifier | station_today |
| Tomorrows Forecast | station_tomorrow |
| Fetch Station Timezone | station_tz |
| Find All Stations in a Point's Forecast Zone | stations_near |
