A Shiny application...
- Original R code sourced from https://github.com/mking579/Dashboard/blob/main/app.R
- Separated
app.Rinto three components:global.R,server.R,ui.R - Datasets are sourced straight from the GitHub repository
- Replaced usage of
%>%with the newer base R pipe|>to reduce package dependency - Used
rsconnect::writeManifestto write app metadata for Posit Connect Cloud (see this site) - App is live on Posit Connect Cloud: https://01949177-2ccc-ffe2-3233-5a7c0dade354.share.connect.posit.cloud/
- Added working graphs for all tabs
- All are basically a similar time series graph
- For
sug_migration_data, used an ordered bar plot by state (restricted to singleuniversity_selected)
- Updated to
ggplot2best practices (e.g., useaesinstead of deprecatedaes_string) - Used
linewidthinstead ofsizeforgeom_linewidth - Display the selected variable name in the plot title
- Parse the columns in
healthcare_data,voter_turnout_dataandincarceration_datato be numeric (added app dependency tostringrpackage) - Added multi-axis graph for healthcare expenditures
- Fixed selector items for
incarceration_variableto match dataset column names
- Removed the "Classes" tab, as that will be moved to Quarto website
- Added drop-down menus to like-pages
- Added dependency for
lubridatefor date parsing - Added dependency on
tidyrfor data manipulation - Added dependency on
plotlyfor interactive plotting - Recreated
manifest.jsonusingrsconnect::writeManifest
- Added
readrdependency for cleaner column names - Added
DTdependency to display table - Added simple tables for IPED and MS School Achievement (to start), with filters to institution and district, respectively