This repository builds a Shiny app to demonstrate spurious correlations between UNC basketball data and other data (e.g. stock market trends, Duke basketball data, etc). This app was developed for the UNC Science EXPO.
The app can be found at https://cbreen.shinyapps.io/final_app/*
This app was developed by
with support from the Statistics and Operations Research Department, the National Science Foundation, the UNC Willis-Hanes Fund and the Vicki and David Craver Fund for Faculty Leadership.
This repository contains the shiny app, the data sets and a number of script files which scrape and process some of the data.
- the UNC and Duke basketball data come from https://www.sports-reference.com/cbb/schools/north-carolina/
- the stock market data comes from http://www.1stock1.com/
- a number of other data sets (e.g. hanging deaths) comes from http://www.tylervigen.com/spurious-correlations.
*Please note that the link to the app may be faulty if it has experienced a lot of traffic recently. Shiny apps have a cap on hours. However, all of the code needed to run the app on your own device can be found in this repository.