This is a Shiny application that allows the user to interactively view the change in geographically-weighted average county-level college price from 1997 to 2012. Data and analyses for this application come from a working paper that can be viewed here:
Estimating the Education-Earnings Equation Using Geographic Variation
## shiny library
library(shiny)
## run from GitHub
runGitHub('colcost', 'btskinner')
## run from the tar or zip file directly
runUrl('https://github.com/rstudio/colcost/archive/master.tar.gz')
runUrl('https://github.com/rstudio/colcost/archive/master.zip')
Clone the git, switch into the directory, and use runApp()
:
## shiny library
library(shiny)
## change directory into local version of colcost
setwd('/path/to/cloned/colcost')
runApp()
If you don't want to download the files or install Shiny locally on your machine, you can interact with the Shiny application at shinyapps.io: