How vanimeesala7/hotel_chain_operations_data_platform works
StaySphere is documented as a Snowflake hotel-operations analytics platform. Its main workflow loads hotel-domain CSVs from S3 through Snowpipe into RAW tables, transforms them through VALIDATED and CURATED layers, then exposes KPI views and anomaly reporting to a Streamlit dashboard. The graph also preserves audit, security, and scheduled anomaly capabilities. The README documents these relationships, but the tree contains only stayshere.sql; no SQL excerpts or dashboard source were available, so implementation details and the dashboard path remain unverified.
Main entry points: stayshere.sql CURATED star schema
Components 16
Ingestion
- S3 bucket
- SQS events
- Snowpipe
stayshere.sql - RAW tables
stayshere.sql
Warehouse Modeling
- Change streams
stayshere.sql - Incremental merge
stayshere.sql - VALIDATED tables
stayshere.sql - CURATED star schema
stayshere.sql
Analytics
- KPI views
stayshere.sql - Anomaly procedures
stayshere.sql - Anomaly log
stayshere.sql - Daily anomaly task
stayshere.sql - Streamlit dashboard
Governance
- Audit logs
stayshere.sql - Data access controls
stayshere.sql
Other components
- Data operator
Connections 16
- Data operator → S3 bucket: uploads CSVs
README.md - S3 bucket → SQS events: emits events
README.md - SQS events → Snowpipe: triggers ingest
README.md - Snowpipe → RAW tables: loads rows
README.md - RAW tables → Change streams: tracks changes
README.md - Change streams → Incremental merge: feeds changes
README.md - Incremental merge → VALIDATED tables: merges data
README.md - VALIDATED tables → CURATED star schema: models data
README.md - CURATED star schema → KPI views: defines metrics
README.md - CURATED star schema → Anomaly procedures: checks records
README.md - Daily anomaly task → Anomaly procedures: runs daily
README.md - Anomaly procedures → Anomaly log: logs anomalies
README.md - KPI views → Streamlit dashboard: provides analytics
README.md - Anomaly log → Streamlit dashboard: feeds summary
README.md - Incremental merge → Audit logs: logs batches
README.md - CURATED star schema → Data access controls: applies policies
README.md