Package: rwunderground 0.1.8

Eric Hare

rwunderground: R Interface to Weather Underground API

Tools for getting historical weather information and forecasts from wunderground.com. Historical weather and forecast data includes, but is not limited to, temperature, humidity, windchill, wind speed, dew point, heat index. Additionally, the weather underground weather API also includes information on sunrise/sunset, tidal conditions, satellite/webcam imagery, weather alerts, hurricane alerts and historical high/low temperatures.

Authors:Alex Shum <[email protected]>

rwunderground_0.1.8.tar.gz
rwunderground_0.1.8.zip(r-4.5)rwunderground_0.1.8.zip(r-4.4)rwunderground_0.1.8.zip(r-4.3)
rwunderground_0.1.8.tgz(r-4.4-any)rwunderground_0.1.8.tgz(r-4.3-any)
rwunderground_0.1.8.tar.gz(r-4.5-noble)rwunderground_0.1.8.tar.gz(r-4.4-noble)
rwunderground_0.1.8.tgz(r-4.4-emscripten)rwunderground_0.1.8.tgz(r-4.3-emscripten)
rwunderground.pdf |rwunderground.html
rwunderground/json (API)
NEWS

# Install 'rwunderground' in R:
install.packages('rwunderground', repos = c('https://alshum.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/alshum/rwunderground/issues

On CRAN:

weatherweather-dataweather-historyweather-underground

6.21 score 78 stars 83 scripts 188 downloads 1 mentions 27 exports 27 dependencies

Last updated 7 years agofrom:81b38cb960. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-winOKNov 21 2024
R-4.5-linuxOKNov 21 2024
R-4.4-winOKNov 21 2024
R-4.4-macOKNov 21 2024
R-4.3-winOKNov 21 2024
R-4.3-macOKNov 21 2024

Exports:alertsalmanacastronomyconditionscurrent_hurricaneforecast10dayforecast3daygeolookupget_api_keyhistoryhistory_dailyhistory_rangehourlyhourly10daylist_airportslist_countrieslist_stateslookup_airportlookup_country_codeplannerrawtidesatelliteset_api_keyset_locationtidewebcamyesterday

Dependencies:askpassclicountrycodecpp11curldplyrfansigenericsgluehttrjsonlitelifecyclelubridatemagrittrmimeopensslpillarpkgconfigR6rlangsystibbletidyselecttimechangeutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Weather Alerts for United States and Europealerts
Average and record high and low temperatures for current date going back as far as weather underground has data or from the national weather service going back 30 years.almanac
as.numeric with special handling for length 0 (NULL) objectsas.numeric.nonempty
Moon phase, sunrise and sunset times for today.astronomy
Base URL for wunderground APIbase_url
Build wunderground request URLbuild_url
Current conditions including current temperature, weather condition, humidity, wind, feels-like, temperature, barometric pressure, and visibility.conditions
Current hurricane - within the US only. Note: all times in easterncurrent_hurricane
Return POSIXct time from 7 variables.dst_POSIXct
Find the text to POSIXct ambiguous interval.dst_repeat_starttime
Processes data.frames and replaces wunderground's -9999/-999 to NAsencode_NA
Forecast for the next 10 days.forecast10day
Forecast for the next 3 days.forecast3day
Lists nearby weather stations for a given locationgeolookup
Returns the wunderground API keyget_api_key
Detects if wunderground API key is sethas_api_key
Hourly weather data for specified date.history
Summarized weather data for specified date.history_daily
Hourly weather data for specified date range.history_range
Hourly forecast for the next 24 hours.hourly
Hourly forecast for the next 10 days.hourly10day
Check if a date is a "fall back" transition from DST.is_fall_back_day
Checks if airport code is validis_valid_airport
Checks if country/state is a valid oneis_valid_territory
Returns a data.frame of valid airport codes (ICAO and IATA).list_airports
Returns a data.frame of valid countries with iso abbreviations and regionlist_countries
Returns a data.frame of valid states with abbreviations and regionslist_states
Lookup airport code (IATA and ICAO code). weatherunderground API might not recognize the IATA/ICAO code for smaller airports.lookup_airport
Lookup ISO country code weatherunderground API doesn't recognize iso codes uniformly for every country.namelookup_country_code
Check if a variable exists for a PWS. If not set the value to -9999measurement_exists
return object, or NA for length 0 (NULL) objectsnonempty
Weather summary based on historical information between the specified datesplanner
Raw Tidal data with data every 5 minutes for US locations Tidal information only available for US cities. Units are in feet.rawtide
Returns image URL for satellite imagerysatellite
Sets the wunderground API keyset_api_key
Specifies location of requestset_location
Detect and stop for any wunderground request errorsstop_for_error
Tidal information for a location within the USA. Tidal information only available for US cities. Units are in feet.tide
Returns locations of personal weather stations along with URLs for their webcam imageswebcam
wunderground api requestswunderground_request
Weather data for yesterdayyesterday