{
  "format": "dataset-manifest/1",
  "slug": "community-engagement-insights",
  "version": 4,
  "seed": "community-engagement-insights:1",
  "engine": 1,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "slug": "community-engagement-insights",
    "name": "Community Engagement Insights",
    "tagline": "Contacts, activities, contributions, and tags related to community engagement initiatives.",
    "description": "Engagement initiatives connect community members through various activities and contributions, fostering a vibrant environment where interaction is key. Members, donors, and volunteers come together to participate in events, sharing their skills and resources to enhance community ties. The operations revolve around tracking these interactions, understanding the dynamics of participation, and categorizing them by their involvement in groups or through specific contributions.\n\nThe relationships between the tables form a comprehensive structure that reflects the organization's efforts. Each row in the contacts table represents an individual engaged in the community, while the activities table tracks specific events or actions they participate in. Contributions detail the resources shared by these contacts, such as donations or volunteer hours. The groups table delineates various community clusters, providing insight into how contacts are connected by their memberships. Tags offer a method of categorizing individuals based on their interests or specific interactions, allowing for targeted engagement strategies. Participation ties these elements together, capturing which contacts are involved in which activities and groups, painting a holistic picture of community engagement.\n\nThis dataset answers pertinent questions regarding community dynamics, such as identifying active members, understanding which activities garner the most participation, and assessing the impact of contributions on group cohesion. It provides an excellent opportunity for practicing skills in data analysis, particularly in the domains of relationship mapping and engagement metrics. With synthetic data, this sample allows developers to explore insights without the constraints of real-world data privacy issues, enabling a safe environment for honing analytics capabilities.",
    "domain": "marketing",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "community",
      "engagement",
      "contacts",
      "activities",
      "contributions",
      "relationships",
      "tags",
      "groups",
      "donors",
      "volunteers"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "contacts": {
        "description": "This table contains information about community members, including their roles as donors, volunteers, or general members. Each contact can have multiple interactions and contributions linked to them.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each contact."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the contact."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "Contact email address."
          },
          "membership_type": {
            "kind": "enum",
            "values": [
              "member",
              "donor",
              "volunteer"
            ],
            "description": "The type of participation the contact has.",
            "weights": [
              8,
              2,
              1
            ]
          },
          "join_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the contact joined the organization.",
            "trend": "growing"
          }
        }
      },
      "activities": {
        "description": "This table catalogs different engagement activities organized by the community. It includes events, initiatives, and volunteer opportunities.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each activity."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the engagement activity.",
            "pool": [
              "workshop",
              "seminar",
              "webinar",
              "discussion",
              "forum",
              "meetup",
              "networking",
              "presentation",
              "collaboration",
              "brainstorming",
              "outreach",
              "event",
              "campaign",
              "training",
              "expo",
              "lecture",
              "panel",
              "class",
              "roundtable",
              "showcase"
            ]
          },
          "activity_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the activity takes place.",
            "trend": "seasonal"
          },
          "activity_type": {
            "kind": "enum",
            "values": [
              "event",
              "initiative",
              "volunteer"
            ],
            "description": "Type of the engagement activity.",
            "weights": [
              5,
              3,
              2
            ]
          }
        }
      },
      "contributions": {
        "description": "This table captures the contributions made by contacts, including donations and other forms of support.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each contribution."
          },
          "contact_id": {
            "kind": "fk",
            "ref": "contacts.id",
            "description": "The ID of the contact making the contribution."
          },
          "amount": {
            "kind": "decimal",
            "min": 5,
            "max": 5000,
            "scale": 2,
            "description": "The monetary amount contributed.",
            "distribution": "long-tail"
          },
          "contribution_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the contribution was made.",
            "trend": "growing"
          },
          "payment_method": {
            "kind": "enum",
            "values": [
              "credit_card",
              "paypal",
              "bank_transfer"
            ],
            "weights": [
              50,
              30,
              20
            ],
            "description": "The method used for making the contribution."
          },
          "currency": {
            "kind": "enum",
            "values": [
              "USD",
              "EUR",
              "GBP"
            ],
            "weights": [
              70,
              20,
              10
            ],
            "description": "The currency in which the contribution was made."
          }
        }
      },
      "groups": {
        "description": "This table defines various groups within the community, categorizing contacts based on shared interests or activities.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each group."
          },
          "group_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the group.",
            "pool": [
              "volunteers",
              "advocates",
              "leaders",
              "participants",
              "community",
              "members",
              "stakeholders",
              "organizers",
              "partners",
              "allies",
              "enthusiasts",
              "activists",
              "friends",
              "supporters",
              "collaborators",
              "champions",
              "teams",
              "associates",
              "network",
              "collective"
            ]
          },
          "description": {
            "kind": "sentence",
            "max": 100,
            "description": "A brief description of the group's purpose."
          },
          "member_count": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "distribution": "normal",
            "description": "The number of members in the group."
          },
          "creation_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the group was created."
          }
        }
      },
      "tags": {
        "description": "This table contains tags that can be assigned to contacts or activities for enhanced categorization.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each tag."
          },
          "tag_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the tag.",
            "pool": [
              "education",
              "outreach",
              "engagement",
              "collaboration",
              "networking",
              "community",
              "awareness",
              "advocacy",
              "support",
              "development",
              "training",
              "feedback",
              "innovation",
              "participation",
              "involvement",
              "strategy",
              "growth",
              "inclusion",
              "empowerment",
              "partnership"
            ]
          },
          "associated_id": {
            "kind": "fk",
            "ref": "contacts.id",
            "nullable": true,
            "description": "The ID of the contact associated with this tag, if applicable."
          },
          "tag_type": {
            "kind": "enum",
            "values": [
              "interest",
              "skill",
              "location"
            ],
            "weights": [
              50,
              30,
              20
            ],
            "description": "The category of the tag."
          },
          "created_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the tag was created."
          }
        }
      },
      "participation": {
        "description": "This table captures the relationships between contacts and activities, indicating who participated in which activities.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each participation record."
          },
          "contact_id": {
            "kind": "fk",
            "ref": "contacts.id",
            "description": "The ID of the contact who participated."
          },
          "activity_id": {
            "kind": "fk",
            "ref": "activities.id",
            "description": "The ID of the activity in which the contact participated."
          },
          "participation_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the contact participated in the activity."
          },
          "feedback_score": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "distribution": "high",
            "nullable": true,
            "description": "The score given by the contact for the activity, 1-5; null if not rated."
          },
          "duration_minutes": {
            "kind": "int",
            "min": 30,
            "max": 480,
            "distribution": "normal",
            "description": "The duration of participation in minutes."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "high-cardinality",
      "nullable"
    ],
    "analysisQuestions": [
      "What types of contributions are most common among contacts?",
      "Which activities have the highest participation rates?",
      "How do membership types impact engagement in activities?",
      "What tags are most frequently assigned to contacts and why?",
      "How do contributions vary by activity type over time?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Contacts and Contributions",
        "sql": "SELECT c.full_name, con.amount FROM contacts c JOIN contributions con ON c.id = con.contact_id;",
        "dialect": "postgres"
      },
      {
        "title": "Aggregate Contributions by Membership Type",
        "sql": "SELECT membership_type, SUM(amount) as total_contributions FROM contributions c JOIN contacts ct ON c.contact_id = ct.id GROUP BY membership_type;",
        "dialect": "postgres"
      },
      {
        "title": "Participation Count by Activity Type",
        "sql": "SELECT a.activity_type, COUNT(p.id) as participation_count FROM participation p JOIN activities a ON p.activity_id = a.id GROUP BY a.activity_type;",
        "dialect": "postgres"
      },
      {
        "title": "Contribution Trends Over Time",
        "sql": "SELECT DATE_TRUNC('month', contribution_date) AS month, SUM(amount) as total FROM contributions GROUP BY month ORDER BY month;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Community Organizer's Insights",
        "body": "A community organizer can utilize this dataset to analyze participation trends over time, helping them optimize future events and activities based on past engagement levels and contribution patterns."
      },
      {
        "title": "Marketing Campaign Development",
        "body": "A marketing team can leverage insights from the contributions and activities tables to design targeted campaigns that appeal to specific groups or membership types, boosting overall engagement and support."
      },
      {
        "title": "Volunteer Coordination",
        "body": "A volunteer coordinator can use the data to identify active volunteers and their preferred activities, allowing for better scheduling and personalized outreach to enhance volunteer satisfaction and retention."
      },
      {
        "title": "Educational Workshops",
        "body": "In an educational setting, instructors can teach students about data analysis and SQL by engaging them with real-world scenarios based on community engagement data, enhancing their learning experience."
      }
    ]
  },
  "counts": {
    "activities": 100,
    "contacts": 200,
    "contributions": 300,
    "groups": 50,
    "participation": 400,
    "tags": 200
  },
  "stats": {
    "contacts": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 196,
          "min": "Alice Baker",
          "max": "Zoe Young"
        },
        "email": {
          "nulls": 0,
          "distinct": 198
        },
        "membership_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "donor",
          "max": "volunteer"
        },
        "join_date": {
          "nulls": 0,
          "distinct": 182,
          "min": "2020-01-18",
          "max": "2023-12-27"
        }
      }
    },
    "activities": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "name": {
          "nulls": 0,
          "distinct": 83
        },
        "activity_date": {
          "nulls": 0,
          "distinct": 97,
          "min": "2020-01-11",
          "max": "2023-12-25"
        },
        "activity_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "event",
          "max": "volunteer"
        }
      }
    },
    "contributions": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "contact_id": {
          "nulls": 0,
          "distinct": 155,
          "min": 1,
          "max": 200
        },
        "amount": {
          "nulls": 0,
          "distinct": 299,
          "min": 5.22,
          "max": 4997.96
        },
        "contribution_date": {
          "nulls": 0,
          "distinct": 271,
          "min": "2020-01-06",
          "max": "2023-12-25"
        },
        "payment_method": {
          "nulls": 0,
          "distinct": 3,
          "min": "bank_transfer",
          "max": "paypal"
        },
        "currency": {
          "nulls": 0,
          "distinct": 3,
          "min": "EUR",
          "max": "USD"
        }
      }
    },
    "groups": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "group_name": {
          "nulls": 0,
          "distinct": 42
        },
        "description": {
          "nulls": 0,
          "distinct": 50
        },
        "member_count": {
          "nulls": 0,
          "distinct": 33,
          "min": 15,
          "max": 73
        },
        "creation_date": {
          "nulls": 0,
          "distinct": 50,
          "min": "2020-01-17",
          "max": "2023-12-24"
        }
      }
    },
    "tags": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "tag_name": {
          "nulls": 0,
          "distinct": 153
        },
        "associated_id": {
          "nulls": 27,
          "distinct": 119,
          "min": 2,
          "max": 198
        },
        "tag_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "interest",
          "max": "skill"
        },
        "created_date": {
          "nulls": 0,
          "distinct": 187,
          "min": "2020-01-21",
          "max": "2023-12-22"
        }
      }
    },
    "participation": {
      "rows": 400,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 400,
          "min": 1,
          "max": 400
        },
        "contact_id": {
          "nulls": 0,
          "distinct": 168,
          "min": 1,
          "max": 200
        },
        "activity_id": {
          "nulls": 0,
          "distinct": 97,
          "min": 1,
          "max": 100
        },
        "participation_date": {
          "nulls": 0,
          "distinct": 348,
          "min": "2020-01-01",
          "max": "2023-12-29"
        },
        "feedback_score": {
          "nulls": 46,
          "distinct": 5,
          "min": 1,
          "max": 5
        },
        "duration_minutes": {
          "nulls": 0,
          "distinct": 196,
          "min": 106,
          "max": 438
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/activities.csv",
      "format": "csv",
      "table": "activities",
      "key": "datasets/community-engagement-insights/v4/csv/activities.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/csv/activities.csv",
      "bytes": 4251,
      "sha256": "7ab8b8d958687a07a21205ee34490ec6637fd5f543816b675f69c003afb9d5a6",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/contacts.csv",
      "format": "csv",
      "table": "contacts",
      "key": "datasets/community-engagement-insights/v4/csv/contacts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/csv/contacts.csv",
      "bytes": 11751,
      "sha256": "56f2ca543890d519fad5a5f5b6bf19a8b5248521dbc30b83d810126d6fd47e64",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/contributions.csv",
      "format": "csv",
      "table": "contributions",
      "key": "datasets/community-engagement-insights/v4/csv/contributions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/csv/contributions.csv",
      "bytes": 12532,
      "sha256": "1d253daa4f2c085ee8c6eb04e91c717857ee80e36d912b2e700d9c7fbcc3a0dd",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/groups.csv",
      "format": "csv",
      "table": "groups",
      "key": "datasets/community-engagement-insights/v4/csv/groups.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/csv/groups.csv",
      "bytes": 4605,
      "sha256": "208d447bf57d7ccaa1f08288ec51babe3285e03c1d7bb58f2553de60af94b65c",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/participation.csv",
      "format": "csv",
      "table": "participation",
      "key": "datasets/community-engagement-insights/v4/csv/participation.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/csv/participation.csv",
      "bytes": 11275,
      "sha256": "7f9b5f21c6a14c3ea7cc26a757e7695a6d833566bc7489d92551a73ed1a780da",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/tags.csv",
      "format": "csv",
      "table": "tags",
      "key": "datasets/community-engagement-insights/v4/csv/tags.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/csv/tags.csv",
      "bytes": 9546,
      "sha256": "df906ec531ee787e859379d6f1d32a2415e356dea367f2872cef7ffa85bb7bc7",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "community-engagement-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/community-engagement-insights/v4/community-engagement-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/community-engagement-insights.json",
      "bytes": 217094,
      "sha256": "6cafd640dcd4ebc431b3125ca1ab68c83de4635563363b999313435bbb1951d2",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/community-engagement-insights/v4/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/sql/postgres.sql",
      "bytes": 77042,
      "sha256": "d9af951e287628063983efe3fc7aad3b49bf1c65945e30682e4a336aff4fe363",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/community-engagement-insights/v4/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/sql/mysql.sql",
      "bytes": 76363,
      "sha256": "c25d01f43fd4e1112dfa9ed59865a59a8ad7972d57cfca95f4ac10430137a6ea",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/community-engagement-insights/v4/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/sql/mssql.sql",
      "bytes": 79910,
      "sha256": "32095741a7d56bc1436e5000137c2c37c75a06b140acc9a67469ee22fcea8e90",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/community-engagement-insights/v4/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/sql/sqlite.sql",
      "bytes": 76132,
      "sha256": "f72bd4368ad310dd046e18d981c31b3fa5a7a440a5be07751f8101c35213cd2e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/community-engagement-insights/v4/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/prisma/seed.ts",
      "bytes": 168936,
      "sha256": "89539f073ef79a12461243207f42950ac076c894f5f7dfca87c731c3ef272a1c",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/community-engagement-insights/v4/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/community-engagement-insights/v4/django/fixtures.json",
      "bytes": 271811,
      "sha256": "344dfff253b41d00b56455c14fa9ae7bfac9bc56ac5b94df398866097cd80f87",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768264905,
  "updatedAt": 1789095705904
}
