{
  "format": "dataset-manifest/1",
  "slug": "eco-tracking-and-carbon-footprint-app",
  "version": 3,
  "seed": "eco-tracking-and-carbon-footprint-app:1",
  "spec": {
    "format": "dataset/1",
    "slug": "eco-tracking-and-carbon-footprint-app",
    "name": "Sustainable Impact Tracking",
    "tagline": "User activities, badges, and carbon offsets related to environmental conservation efforts.",
    "description": "Nonprofits dedicated to environmental conservation track their impact through diverse activities aimed at reducing carbon footprints. These organizations engage users in various initiatives, such as waste management programs, community challenges, and utility efficiency projects, striving to foster sustainability in their communities. Users actively log their involvement in events and can track the carbon offsets they achieve through different providers, showcasing their commitment to eco-friendly practices. They also have the opportunity to earn badges that recognize their positive contributions and encourage continued participation in green activities.\n\nThe data is structured around several interconnected tables. The 'users' table holds profiles of individuals engaging with the nonprofit's initiatives. Each user may participate in various 'activities' that detail their efforts, from community challenges to specific sustainability actions. The 'badges' table catalogs the various badges users can earn, while the 'user_badges' table serves as a linking entity that connects users to the badges they’ve achieved. Additionally, the 'carbon_offsets' table provides insights into the carbon offsets logged by users, reflecting their contribution to emission reductions. 'community_challenges' allows the nonprofit to organize and track collective efforts within the community, creating a collaborative atmosphere among users.\n\nQuestions this dataset can help answer include: How effective are specific activities in reducing overall carbon footprints? What types of actions lead to the most badge achievements among users? Which community challenges result in the highest participation and impact? These inquiries make the data an excellent resource for practicing data analysis, as it showcases relationships between user engagement and environmental outcomes. The data is synthetic, providing a flexible and safe space for developers and analysts to hone their skills.",
    "domain": "nonprofit",
    "shape": "event-log",
    "useCases": [
      "analytics-demo",
      "etl-pipelines"
    ],
    "keywords": [
      "sustainability",
      "carbon footprint",
      "nonprofit",
      "environment",
      "tracking",
      "emissions",
      "community challenges"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "Each row represents a user participating in the sustainability initiatives, linking to various activities they have logged.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "The user's email address, derived from their full name."
          },
          "joined_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date and time the user joined the platform.",
            "dayProfile": "waking"
          }
        }
      },
      "activities": {
        "description": "This table logs various sustainability activities undertaken by users, linking to the user who performed them.",
        "rows": 600,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each activity."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user who performed the activity."
          },
          "activity_type": {
            "kind": "enum",
            "values": [
              "waste_management",
              "travel",
              "utility_usage",
              "community_challenge"
            ],
            "description": "Type of activity logged.",
            "weights": [
              6,
              2,
              1,
              3
            ]
          },
          "carbon_offset": {
            "kind": "decimal",
            "min": 0,
            "max": 1000,
            "scale": 2,
            "description": "Amount of carbon offset achieved through the activity.",
            "distribution": "normal"
          },
          "logged_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date and time the activity was logged.",
            "dayProfile": "waking"
          }
        }
      },
      "badges": {
        "description": "Badges awarded to users for completing specific sustainability challenges or milestones.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each badge."
          },
          "badge_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Name of the badge awarded.",
            "pool": [
              "excellence",
              "innovation",
              "leadership",
              "collaboration",
              "sustainability",
              "impact",
              "engagement",
              "advocacy",
              "empowerment",
              "creativity",
              "service",
              "dedication",
              "transformation",
              "resilience",
              "education",
              "inspiration",
              "community",
              "responsibility",
              "growth",
              "partnership"
            ]
          },
          "criteria": {
            "kind": "sentence",
            "description": "Criteria required to earn this badge."
          }
        }
      },
      "carbon_offsets": {
        "description": "Information about carbon offset providers and their offerings, linked to user activities.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each carbon offset provider."
          },
          "provider_name": {
            "kind": "company",
            "description": "Name of the carbon offset provider."
          },
          "offset_value": {
            "kind": "decimal",
            "min": 1,
            "max": 500,
            "scale": 2,
            "description": "Amount of carbon offset provided.",
            "distribution": "long-tail"
          },
          "activity_id": {
            "kind": "fk",
            "ref": "activities.id",
            "nullable": true,
            "description": "Reference to the activity linked to this offset."
          }
        }
      },
      "community_challenges": {
        "description": "Challenges aimed at engaging users in sustainability efforts, linked to user activities.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each community challenge."
          },
          "challenge_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Name of the community challenge.",
            "pool": [
              "clean",
              "energy",
              "water",
              "education",
              "health",
              "food",
              "housing",
              "transportation",
              "safety",
              "equity",
              "climate",
              "waste",
              "biodiversity",
              "infrastructure",
              "employment",
              "access",
              "technology",
              "justice",
              "wellbeing",
              "development"
            ]
          },
          "description": {
            "kind": "sentence",
            "description": "Description of the challenge."
          },
          "start_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Start date of the challenge.",
            "trend": "growing"
          },
          "end_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "End date of the challenge.",
            "trend": "growing"
          }
        }
      },
      "user_badges": {
        "description": "Bridge table linking users to the badges they have earned through various activities.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user-badge relationship."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user who earned the badge."
          },
          "badge_id": {
            "kind": "fk",
            "ref": "badges.id",
            "description": "Reference to the badge earned by the user."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped"
    ],
    "analysisQuestions": [
      "What types of activities lead to the highest carbon offsets?",
      "Which community challenges have the highest participation rates?",
      "How have user behaviors changed over time regarding sustainability?",
      "What badges are most commonly earned by users?",
      "What is the average carbon offset per user for different activity types?"
    ],
    "suggestedQueries": [
      {
        "title": "List all users and their total carbon offsets.",
        "sql": "SELECT u.full_name, SUM(a.carbon_offset) AS total_offset FROM users u JOIN activities a ON u.id = a.user_id GROUP BY u.full_name;",
        "dialect": "postgres"
      },
      {
        "title": "Count of activities by type.",
        "sql": "SELECT activity_type, COUNT(*) AS activity_count FROM activities GROUP BY activity_type;",
        "dialect": "postgres"
      },
      {
        "title": "Average carbon offset for each activity type.",
        "sql": "SELECT activity_type, AVG(carbon_offset) AS avg_offset FROM activities GROUP BY activity_type;",
        "dialect": "postgres"
      },
      {
        "title": "Find users who have earned specific badges.",
        "sql": "SELECT u.full_name, b.badge_name FROM users u JOIN user_badges ub ON u.id = ub.user_id JOIN badges b ON ub.badge_id = b.id WHERE b.badge_name = 'Eco Warrior';",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Nonprofit Impact Analysis",
        "body": "A nonprofit organization can use this dataset to analyze the effectiveness of their sustainability initiatives. By evaluating the types of activities logged by users and their associated carbon offsets, they can identify successful programs and areas needing improvement. This data-driven approach can help enhance their future campaigns."
      },
      {
        "title": "Community Engagement",
        "body": "Community organizers can leverage this dataset to track participation in sustainability challenges. By analyzing which challenges garner the most user engagement, they can design future initiatives that resonate with the community's interests and drive more effective participation in sustainability efforts."
      },
      {
        "title": "User Behavior Insights",
        "body": "Data analysts can explore user behavior over time regarding sustainability activities. By examining trends in activity types and carbon offsets, they can provide insights into how users' eco-friendly habits evolve, helping nonprofits tailor their strategies to encourage sustainable practices."
      },
      {
        "title": "Badge System Optimization",
        "body": "Nonprofits can utilize the badge system data to assess which badges are most frequently earned and which criteria are most engaging for users. This information can guide them in refining their gamification strategies to enhance user motivation and participation in sustainability activities."
      }
    ]
  },
  "counts": {
    "badges": 150,
    "community_challenges": 80,
    "users": 300,
    "activities": 600,
    "carbon_offsets": 100,
    "user_badges": 200
  },
  "stats": {
    "users": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "full_name": {
          "nulls": 0,
          "distinct": 297,
          "min": "Alice Brown",
          "max": "Zoe Rossi"
        },
        "email": {
          "nulls": 0,
          "distinct": 299
        },
        "joined_at": {
          "nulls": 0,
          "distinct": 300,
          "min": "2020-01-10 19:49:21",
          "max": "2023-12-28 16:56:40"
        }
      }
    },
    "activities": {
      "rows": 600,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 600,
          "min": 1,
          "max": 600
        },
        "user_id": {
          "nulls": 0,
          "distinct": 265,
          "min": 1,
          "max": 300
        },
        "activity_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "community_challenge",
          "max": "waste_management"
        },
        "carbon_offset": {
          "nulls": 0,
          "distinct": 598,
          "min": 104.24,
          "max": 851.18
        },
        "logged_at": {
          "nulls": 0,
          "distinct": 600,
          "min": "2020-01-02 18:32:37",
          "max": "2023-12-21 14:15:09"
        }
      }
    },
    "badges": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "badge_name": {
          "nulls": 0,
          "distinct": 117
        },
        "criteria": {
          "nulls": 0,
          "distinct": 150
        }
      }
    },
    "carbon_offsets": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "provider_name": {
          "nulls": 0,
          "distinct": 89,
          "min": "Acme Group",
          "max": "Willow Digital"
        },
        "offset_value": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 495.54
        },
        "activity_id": {
          "nulls": 8,
          "distinct": 87,
          "min": 2,
          "max": 588
        }
      }
    },
    "community_challenges": {
      "rows": 80,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 80,
          "min": 1,
          "max": 80
        },
        "challenge_name": {
          "nulls": 0,
          "distinct": 65
        },
        "description": {
          "nulls": 0,
          "distinct": 80
        },
        "start_date": {
          "nulls": 0,
          "distinct": 80,
          "min": "2020-01-19",
          "max": "2023-12-24"
        },
        "end_date": {
          "nulls": 0,
          "distinct": 78,
          "min": "2020-01-09",
          "max": "2023-12-06"
        }
      }
    },
    "user_badges": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "user_id": {
          "nulls": 0,
          "distinct": 151,
          "min": 3,
          "max": 300
        },
        "badge_id": {
          "nulls": 0,
          "distinct": 118,
          "min": 1,
          "max": 150
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/badges.csv",
      "format": "csv",
      "table": "badges",
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/csv/badges.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/csv/badges.csv",
      "bytes": 12687,
      "sha256": "70c3856e1424d3a18733635efcf65bc395a5ddf9a5810a352f5598280aa307a1",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/community_challenges.csv",
      "format": "csv",
      "table": "community_challenges",
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/csv/community_challenges.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/csv/community_challenges.csv",
      "bytes": 8032,
      "sha256": "dece8da5f4d2433b674c36eda2d1d274a59de8526238a723a3c0a5719e2f4e0e",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/csv/users.csv",
      "bytes": 18310,
      "sha256": "8645c7c2ed71819540968b369edb96b7f3a4227e664b7df888bfad3e9431052e",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/activities.csv",
      "format": "csv",
      "table": "activities",
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/csv/activities.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/csv/activities.csv",
      "bytes": 30644,
      "sha256": "c9475efa03d53ee4a200f736bd802129cc2dd9616105b38e6b966cc506fac743",
      "rows": 600,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/carbon_offsets.csv",
      "format": "csv",
      "table": "carbon_offsets",
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/csv/carbon_offsets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/csv/carbon_offsets.csv",
      "bytes": 2894,
      "sha256": "6ed24cf436e4f179c993cf354f1057ab4cc39b14f5de7fbf535866759b9fe1b3",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_badges.csv",
      "format": "csv",
      "table": "user_badges",
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/csv/user_badges.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/csv/user_badges.csv",
      "bytes": 2311,
      "sha256": "a79c196f2c75609633622ca7b243391f36e8e3083f9fdc51ffa64fe9b8a4eacc",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "eco-tracking-and-carbon-footprint-app.json",
      "format": "json",
      "table": null,
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/eco-tracking-and-carbon-footprint-app.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/eco-tracking-and-carbon-footprint-app.json",
      "bytes": 210282,
      "sha256": "a94ec77efafdc33975f16f664fb51f8284fcbec2d210ee68ee1e1a99edde22f4",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/sql/postgres.sql",
      "bytes": 96836,
      "sha256": "9bf51832803d97a5845084d0ca6e972fdc95f18b1f278eb8ebb1b279266de3dd",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/sql/mysql.sql",
      "bytes": 96143,
      "sha256": "45eaabe3d11d433f61c7720333cbe9280fa8425070932d8adb7aa9bf728f9cd0",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/sql/mssql.sql",
      "bytes": 99391,
      "sha256": "5dc3b5ed3f8a262425734c6e203e48e68c4c882253e0d497205708a3e869e0b4",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/sql/sqlite.sql",
      "bytes": 95922,
      "sha256": "9e588b2cbce70e7edb284a09097528014974ee6e49914c9c4f9d47d1382f4f16",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/prisma/seed.ts",
      "bytes": 180059,
      "sha256": "ef956087020e2a8b2c7330b00bb80dec855642a8ec6ace3380499e0930c28a70",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/eco-tracking-and-carbon-footprint-app/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-tracking-and-carbon-footprint-app/v3/django/fixtures.json",
      "bytes": 273324,
      "sha256": "94150090ab46ad2bb58b45480006bf0b1ede1ec58805ec0066051e1ab6229914",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767621222,
  "updatedAt": 1788783548159
}
