{"id":28095410,"url":"https://github.com/lightdash/lightdash-demo-saas","last_synced_at":"2026-02-24T12:04:29.219Z","repository":{"id":247662660,"uuid":"825972790","full_name":"lightdash/lightdash-demo-saas","owner":"lightdash","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-17T19:08:42.000Z","size":17434,"stargazers_count":3,"open_issues_count":11,"forks_count":3,"subscribers_count":10,"default_branch":"main","last_synced_at":"2026-02-17T22:19:54.593Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lightdash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-08T21:33:31.000Z","updated_at":"2026-02-17T19:08:47.000Z","dependencies_parsed_at":"2025-07-09T23:00:05.331Z","dependency_job_id":"dbd07de2-ddac-4595-8163-d25a7f8d7e98","html_url":"https://github.com/lightdash/lightdash-demo-saas","commit_stats":null,"previous_names":["jpetey75/lightdash-saas-demo","lightdash/lightdash-demo-saas"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lightdash/lightdash-demo-saas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightdash%2Flightdash-demo-saas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightdash%2Flightdash-demo-saas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightdash%2Flightdash-demo-saas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightdash%2Flightdash-demo-saas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightdash","download_url":"https://codeload.github.com/lightdash/lightdash-demo-saas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightdash%2Flightdash-demo-saas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29781252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T10:45:18.109Z","status":"ssl_error","status_checked_at":"2026-02-24T10:45:09.911Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-13T16:00:02.569Z","updated_at":"2026-02-24T12:04:29.214Z","avatar_url":"https://github.com/lightdash.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lightdash SaaS Demo\n\n## Overview\n\nThis repository contains customer relationship data that tracks the complete journey from company acquisition through individual user engagement. The data follows a hierarchical structure designed to provide insights into sales performance, user adoption, and customer success patterns.\n\n## Data Structure\n\n### Entity Relationship Diagram\n```\nACCOUNTS (Companies) \n    ↓ account_id\n    ├─► DEALS (Sales Pipeline)\n    └─► USERS (Individual Contacts)\n            ↓ user_id  \n            └─► TRACKS (Product Usage)\n```\n\n## Dataset Descriptions\n\n### `accounts_raw.csv`\n**Master company data** - Contains information about organizations in the sales pipeline.\n\n| Column | Type | Description |\n|--------|------|-------------|\n| `account_id` | UUID | Unique company identifier (Primary Key) |\n| `account_name` | String | Company/organization name |\n| `industry` | String | Business sector (e.g., Financial Services, Technology, Healthcare) |\n| `segment` | String | Company size category (SMB, Midmarket, Enterprise) |\n\n### `deals_raw.csv`\n**Sales pipeline data** - Tracks revenue opportunities and deal outcomes.\n\n| Column | Type | Description |\n|--------|------|-------------|\n| `deal_id` | UUID | Unique deal identifier (Primary Key) |\n| `account_id` | UUID | Links to accounts table (Foreign Key) |\n| `stage` | String | Sales stage (Qualified, Won, Lost, PoC) |\n| `plan` | String | Service plan type |\n| `seats` | Integer | Number of licensed seats |\n| `amount` | Integer | Deal value in dollars |\n| `created_date` | Timestamp | When the deal was created |\n\n### `users_raw.csv`\n**Individual contact data** - People within organizations who use the platform.\n\n| Column | Type | Description |\n|--------|------|-------------|\n| `user_id` | UUID | Unique user identifier (Primary Key) |\n| `account_id` | UUID | Links to accounts table (Foreign Key) |\n| `email` | String | User email address |\n| `job_title` | String | Role within organization |\n| `is_marketing_opted_in` | Boolean | Marketing communication preference (0/1) |\n| `created_at` | Timestamp | When user account was created |\n| `first_logged_in_at` | Timestamp | Initial platform access |\n| `latest_logged_in_at` | Timestamp | Most recent login |\n\n### `tracks_raw.csv`\n**User activity data** - Product usage and engagement events.\n\n| Column | Type | Description |\n|--------|------|-------------|\n| `user_id` | UUID | Links to users table (Foreign Key) |\n| `event_id` | UUID | Unique event identifier |\n| `event_name` | String | Type of action performed |\n| `event_timestamp` | Timestamp | When the event occurred |\n\n#### Common Event Types\n- `login_successful` - User authentication\n- `report_generated` - Report creation\n- `file_downloaded` - File access\n- `workspace_created` - New workspace setup\n- `api_call_made` - API usage\n- `integration_failed` - System integration errors\n\n## Key Relationships\n\n- **One-to-Many:** Each account can have multiple deals and users\n- **One-to-Many:** Each user can have multiple activity tracks\n- **Many-to-One:** Multiple users belong to the same account\n- **Many-to-One:** Multiple deals can exist for the same account\n\n## Analysis Capabilities\n\nThis data structure enables analysis across multiple dimensions:\n\n### Sales Performance\n- Win rates by industry and company segment\n- Average deal size by company characteristics\n- Sales cycle length and conversion patterns\n\n### User Adoption\n- User engagement by job role and company type\n- Feature adoption rates\n- Time to first value metrics\n\n### Customer Success\n- Account health scoring based on user activity\n- Expansion opportunity identification\n- Churn risk prediction\n\n### Marketing Intelligence\n- Lead qualification based on company characteristics\n- User role targeting for campaigns\n- Product usage patterns by segment\n\n## Sample Queries\n\n### Account Overview with Deal Summary\n```sql\nSELECT \n    a.account_name,\n    a.industry,\n    a.segment,\n    COUNT(d.deal_id) as total_deals,\n    SUM(d.amount) as total_pipeline_value,\n    COUNT(u.user_id) as total_users\nFROM accounts a\nLEFT JOIN deals d ON a.account_id = d.account_id\nLEFT JOIN users u ON a.account_id = u.account_id\nGROUP BY a.account_id;\n```\n\n### User Engagement Analysis\n```sql\nSELECT \n    u.job_title,\n    COUNT(DISTINCT u.user_id) as user_count,\n    COUNT(t.event_id) as total_events,\n    COUNT(t.event_id) / COUNT(DISTINCT u.user_id) as avg_events_per_user\nFROM users u\nLEFT JOIN tracks t ON u.user_id = t.user_id\nGROUP BY u.job_title\nORDER BY avg_events_per_user DESC;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightdash%2Flightdash-demo-saas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightdash%2Flightdash-demo-saas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightdash%2Flightdash-demo-saas/lists"}