Skip to content

A Shiny App to compare weather from 1 year to a historical average

Notifications You must be signed in to change notification settings

andypicke/WeatherComparer

Repository files navigation

!Current status!

Unfortunately, historical weather data is no longer free to download from the wunderground API, and I took down the data I had on S3. Thus, the app currently doesn't work :( . I plan to try find a new source of weather data in the future. Stay tuned...

WeatherComparer

A Shiny App to compare weather from one year to a historical average over several years.

I'm a bit of weather geek and I often find myself saying "this January seems warmer than normal" or something similar (https://andypicke.github.io/Summer-In-February/). So I decided to make a Shiny app that will let you explore this type of question for different cities, months, and years.

Check it out at : https://andypicke.shinyapps.io/WeatherComparer/

You can also download scripts.R and app.R and run locally on your own machine in RStudio.

Right now it only does temperature, but I am planning to expand it for other variables.

Data is gathered from https://www.wunderground.com/.

Using the app

Input

On the sidebar, you can select several options:

  • Year to Compare: This is the data you would like to compare to the historical averages.
  • Compare from Year/to year: This is the historical data you will compare to.
  • Months to include in comparison.
  • Station (airport)

After making selections, click the execute button to update the results.

Output

  • Historical temperatures, averaged over the years chosen, is plotted as black line. The gray shading shows +/- 1 standard deviation of the historical temperatures over this time period. Current data is potted as red dots.

  • The difference plot makes it easier to see periods where the current temperatures are warmer/colder than the historical average.

  • Station info lists all the available weather stations and their codes, which can be intered in the inputs.

  • The data is also given in tables for inspection, and is available for download as csv files.s

About

A Shiny App to compare weather from 1 year to a historical average

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published