How jordantgh/income_le_analysis works
Main Components
a. Data Layer:
• Raw Data Store (Chetty's study tables)
• External Data (industry data, shapefiles)
• Derived Tables
b. Processing Layer:
• Create three main processing blocks:
• Data Initialization (init_db.r)
• Industry Processing Pipeline
• Table Processing Pipeline
Use rectangular blocks with rounded corners for processing components
c. Application Layer:
• Shiny Dashboard Component
• Visualization Layer
Use a web interface symbol for the Shiny app
Flow and Relationships
Raw Data → Data Initialization → Processed Tables
External Data → Industry Processing → Processed Tables
Processed Tables → Table Processing Pipeline → Dashboard
Component Details
a. Data Sources (Bottom Layer):
• County-level data
• Commuting Zone (CZ) data
• State-level data
• National data
• Geographic data (shapefiles)
• Industry data
b. Processing Pipeline (Middle Layer):
• Parallel processing streams:
• Industry data processing
• Regional assignment
• Table processing
• Data cleanup
c. Application Layer (Top Layer):
• Shiny Dashboard
• CSS styling
• Interactive visualizations