The dashboard module provides a unified interface for viewing and analyzing data from multiple sources within the ClimateBackend system. It features server-side filtering and data processing capabilities.
-
AWS Stations Data
- Station name
- Rainfall measurements
- Timestamp information
-
Daily Prediction Data
- Station-wise predictions
- 3-day rainfall forecasts
- Prediction timestamps
-
Tweet Data
- Tweet content
- Sentiment analysis
- Location information
- Timestamp
-
Crowdsource Data
- Location information
- Water depth measurements
- User feedback
- Submission timestamps
- Date range selection (2020-01-01 to 2030-12-31)
- Data source selection
- Server-side processing
- Efficient data retrieval
- Fixed-height data containers (400px)
- Scrollable content areas
- Tabular data presentation
- Empty state handling
- CSV download functionality
- Source-specific data exports
- Date range filtering for exports
- Server-side filtering and processing
- Django template rendering
- Efficient database queries
- Data pagination (100 records per source)
- Responsive grid layout
- Bootstrap styling
- Fixed-height containers
- Dynamic source rendering
- Login required for access
- Staff-only permissions
- CSRF protection
- Input validation
- Access the dashboard at
/dashboard/
- Select desired date range
- Choose data sources to display
- Click "Apply Filters" to update
- Use download buttons for data export
dashboard/
├── templates/
│ └── dashboard/
│ └── index.html # Main dashboard template
├── views.py # View logic and data processing
├── urls.py # URL routing
└── models.py # Dashboard-specific models
- Server-side filtering reduces client load
- Fixed record limits prevent overloading
- Efficient database queries
- Minimal JavaScript usage
- Real-time data updates
- Advanced filtering options
- Data visualization charts
- Custom view configurations
- Mobile responsiveness improvements