Interactive visualizations of DYNASIM projections of retirement account assets, financial assets, home equity, and total assets across different ages under a baseline and a range of alternative simulations. The interactive includes HRS, PSID, SCF, and SIPP data for validation. Link!
Data source: Urban Institute's Dynamic Simulation of Income Model (DYNASIM), 2017
Pulls and cleans ntiles data for the baseline, HRS, PSID, SCF, and SIPP.
Pulls and cleans ntiles data for counterfactual simulations.
Combines and cleans the data from get-ntiles.R
and get-options.R
.
The /www subdirectory contains shiny.css
. Shiny applications automatically look for material in the www subdirectory.
The R Shiny graphic is built using the Urban Institute R theme. The theme works better using Mac OSX than Windows so urban_theme_mac.R
is used when publishing the Shiny graphic and urban_theme_windows.R
is used for developing edits and new features.
Note: Lines at the top of income_distribution_shiny.R
need to be commented out when switching between operating systems.
- R
- Shiny
- Aaron Williams
- Karen Smith
- Ben Chartoff
- Jerry Ta
- Michael Marazzi
- Dave D'Orio