{
  "format": "dataset-manifest/1",
  "slug": "school-yearbook",
  "version": 1,
  "seed": "school-yearbook:1",
  "spec": {
    "format": "dataset/1",
    "slug": "school-yearbook",
    "name": "Yearbook Chronicles",
    "tagline": "Student records, club memberships, event participation, and achievements from annual yearbook projects.",
    "description": "Students engage in various activities and events throughout the academic year, contributing to a vibrant school community. Schools create yearbooks to commemorate these moments, capturing the essence of student life, achievements, and social interactions. The Yearbook Chronicles dataset provides a detailed look into the significant occasions such as graduations, sports events, and club activities, painting a vivid picture of school dynamics and student involvement.\n\nThe dataset consists of several related tables: the students table captures individual student information, including names and grades. The events table lists significant occurrences throughout the year, such as sports events or award ceremonies. Club_memberships illustrate which students belong to various clubs, while achievements highlight individual accomplishments. Finally, the event_participation table tracks which students took part in specific events. A row in the students table corresponds to one student, while a row in the events table corresponds to one recorded event. By joining these tables, users can analyze relationships, such as which students are most active in clubs versus events, or how participation correlates with achievements.\n\nThe data answers questions about student engagement, such as which events attract the most participation or which clubs have the highest membership rates. It provides insights into trends in student accomplishments and highlights the interplay between various social and academic activities. This dataset is invaluable for practicing data manipulation and analysis skills, as it allows for numerous queries about student activities and achievements.\n\nIt's important to note that the data is synthetic, generated to simulate real-world scenarios within an educational setting, ensuring a rich ground for exploration and learning.",
    "domain": "education",
    "shape": "event-log",
    "useCases": [
      "analytics-demo",
      "etl-pipelines"
    ],
    "keywords": [
      "yearbook",
      "school events",
      "student achievements",
      "clubs",
      "graduation",
      "sports",
      "activities"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "students": {
        "description": "Each row represents a student enrolled in the school, including their basic details and unique identifiers. This table links to events and club memberships.",
        "rows": 200,
        "columns": {
          "student_id": {
            "kind": "pk",
            "description": "Unique identifier for each student."
          },
          "first_name": {
            "kind": "firstName",
            "description": "The student's first name."
          },
          "last_name": {
            "kind": "lastName",
            "description": "The student's last name."
          },
          "enrollment_year": {
            "kind": "int",
            "min": 2018,
            "max": 2023,
            "description": "The year the student enrolled."
          },
          "grade": {
            "kind": "enum",
            "values": [
              "9",
              "10",
              "11",
              "12"
            ],
            "description": "Current grade level of the student."
          }
        }
      },
      "events": {
        "description": "This table captures significant school events throughout the year, detailing the type, date, and participants involved. It links back to students who attended each event.",
        "rows": 50,
        "columns": {
          "event_id": {
            "kind": "pk",
            "description": "Unique identifier for each event."
          },
          "event_name": {
            "kind": "sentence",
            "min": 5,
            "max": 50,
            "description": "The name of the event."
          },
          "event_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date of the event.",
            "trend": "seasonal"
          },
          "event_type": {
            "kind": "enum",
            "values": [
              "graduation",
              "sports",
              "club activity",
              "award ceremony"
            ],
            "description": "The type of event."
          }
        }
      },
      "club_memberships": {
        "description": "This table records student memberships in various clubs, along with the year of joining. It connects students to their respective clubs.",
        "rows": 300,
        "columns": {
          "membership_id": {
            "kind": "pk",
            "description": "Unique identifier for each club membership."
          },
          "student_id": {
            "kind": "fk",
            "ref": "students.student_id",
            "description": "The ID of the student who is a member."
          },
          "club_name": {
            "kind": "sentence",
            "min": 5,
            "max": 30,
            "description": "The name of the club."
          },
          "join_year": {
            "kind": "int",
            "min": 2019,
            "max": 2023,
            "description": "The year the student joined the club."
          }
        }
      },
      "achievements": {
        "description": "This table documents various achievements by students, linking back to the students and detailing the type of achievement and date received.",
        "rows": 100,
        "columns": {
          "achievement_id": {
            "kind": "pk",
            "description": "Unique identifier for each achievement."
          },
          "student_id": {
            "kind": "fk",
            "ref": "students.student_id",
            "description": "The ID of the student who received the achievement."
          },
          "achievement_type": {
            "kind": "sentence",
            "min": 5,
            "max": 50,
            "description": "The type of achievement awarded."
          },
          "achievement_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date the achievement was awarded.",
            "trend": "growing"
          }
        }
      },
      "event_participation": {
        "description": "This table details which students participated in which events, serving as a link between students and events attended.",
        "rows": 250,
        "columns": {
          "participation_id": {
            "kind": "pk",
            "description": "Unique identifier for each event participation record."
          },
          "student_id": {
            "kind": "fk",
            "ref": "students.student_id",
            "description": "The ID of the student participating in the event."
          },
          "event_id": {
            "kind": "fk",
            "ref": "events.event_id",
            "description": "The ID of the event the student participated in."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped"
    ],
    "analysisQuestions": [
      "What types of events do students participate in the most?",
      "How many students are active in multiple clubs?",
      "Which achievements are most common among graduating students?",
      "What is the distribution of event participation among different grades?",
      "How does club membership vary across different years?"
    ],
    "suggestedQueries": [
      {
        "title": "List all students and their grades",
        "sql": "SELECT first_name, last_name, grade FROM students;",
        "dialect": "postgres"
      },
      {
        "title": "Count of events by type",
        "sql": "SELECT event_type, COUNT(*) FROM events GROUP BY event_type;",
        "dialect": "postgres"
      },
      {
        "title": "Find students who participated in a specific event",
        "sql": "SELECT s.first_name, s.last_name FROM students s JOIN event_participation ep ON s.student_id = ep.student_id WHERE ep.event_id = 1;",
        "dialect": "postgres"
      },
      {
        "title": "Achievements by event type",
        "sql": "SELECT e.event_type, COUNT(a.achievement_id) FROM achievements a JOIN event_participation ep ON a.student_id = ep.student_id JOIN events e ON ep.event_id = e.event_id GROUP BY e.event_type;",
        "dialect": "postgres"
      },
      {
        "title": "Clubs with the most members",
        "sql": "SELECT club_name, COUNT(*) FROM club_memberships GROUP BY club_name ORDER BY COUNT(*) DESC;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "School Administrators",
        "body": "School administrators can use the Yearbook Chronicles dataset to analyze student participation in various events and clubs, helping them to identify trends in student engagement and to plan for future activities. They can also track achievements to celebrate student success and encourage greater involvement."
      },
      {
        "title": "Data Analysts",
        "body": "Data analysts can leverage this dataset to build dashboards that visualize student engagement across different grades and events. By identifying patterns in participation and achievement, they can provide insights to schools on how to improve programs and boost student involvement."
      },
      {
        "title": "Teachers",
        "body": "Teachers can utilize the Yearbook Chronicles dataset to understand their students' extracurricular involvement, helping them to tailor their teaching strategies and support systems based on students' interests and achievements. This can foster a more engaged and motivated classroom environment."
      },
      {
        "title": "Event Coordinators",
        "body": "Event coordinators can analyze past events to assess what types of activities draw the most student participation. By reviewing the data, they can strategize and plan future events that align with student interests, ensuring higher attendance and engagement."
      }
    ]
  },
  "counts": {
    "events": 50,
    "students": 200,
    "achievements": 100,
    "club_memberships": 300,
    "event_participation": 250
  },
  "stats": {
    "students": {
      "rows": 200,
      "columns": {
        "student_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "first_name": {
          "nulls": 0,
          "distinct": 77,
          "min": "Alice",
          "max": "Zoe"
        },
        "last_name": {
          "nulls": 0,
          "distinct": 76,
          "min": "Adams",
          "max": "Zhang"
        },
        "enrollment_year": {
          "nulls": 0,
          "distinct": 6,
          "min": 2018,
          "max": 2023
        },
        "grade": {
          "nulls": 0,
          "distinct": 4,
          "min": 9,
          "max": 12
        }
      }
    },
    "events": {
      "rows": 50,
      "columns": {
        "event_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "event_name": {
          "nulls": 0,
          "distinct": 50
        },
        "event_date": {
          "nulls": 0,
          "distinct": 48,
          "min": "2023-01-06",
          "max": "2023-12-25"
        },
        "event_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "award ceremony",
          "max": "sports"
        }
      }
    },
    "club_memberships": {
      "rows": 300,
      "columns": {
        "membership_id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "student_id": {
          "nulls": 0,
          "distinct": 149,
          "min": 3,
          "max": 200
        },
        "club_name": {
          "nulls": 0,
          "distinct": 300
        },
        "join_year": {
          "nulls": 0,
          "distinct": 5,
          "min": 2019,
          "max": 2023
        }
      }
    },
    "achievements": {
      "rows": 100,
      "columns": {
        "achievement_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "student_id": {
          "nulls": 0,
          "distinct": 80,
          "min": 10,
          "max": 196
        },
        "achievement_type": {
          "nulls": 0,
          "distinct": 100
        },
        "achievement_date": {
          "nulls": 0,
          "distinct": 88,
          "min": "2023-01-23",
          "max": "2023-12-29"
        }
      }
    },
    "event_participation": {
      "rows": 250,
      "columns": {
        "participation_id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "student_id": {
          "nulls": 0,
          "distinct": 144,
          "min": 1,
          "max": 200
        },
        "event_id": {
          "nulls": 0,
          "distinct": 49,
          "min": 1,
          "max": 50
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/events.csv",
      "format": "csv",
      "table": "events",
      "key": "datasets/school-yearbook/v1/csv/events.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/school-yearbook/v1/csv/events.csv",
      "bytes": 4214,
      "sha256": "4052acd1e2966fc9f6355a759ba31a9f744d7e1c4985a447644bb5202d67ffe5",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/students.csv",
      "format": "csv",
      "table": "students",
      "key": "datasets/school-yearbook/v1/csv/students.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/school-yearbook/v1/csv/students.csv",
      "bytes": 4888,
      "sha256": "9602fef37964369e5af7a5c5fb033af431fc076c69e04782a0bfc1faa4ee7f3f",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/achievements.csv",
      "format": "csv",
      "table": "achievements",
      "key": "datasets/school-yearbook/v1/csv/achievements.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/school-yearbook/v1/csv/achievements.csv",
      "bytes": 7604,
      "sha256": "14a1d2b6a0c601d63d85932b42906503f09d14e0cac62c49d529c1b4d13f4bbf",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/club_memberships.csv",
      "format": "csv",
      "table": "club_memberships",
      "key": "datasets/school-yearbook/v1/csv/club_memberships.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/school-yearbook/v1/csv/club_memberships.csv",
      "bytes": 20710,
      "sha256": "71c64479a6291b6ff7f548b91d228ee3fc3d9ae6e058dfe5e8f95ab1e2513b5e",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/event_participation.csv",
      "format": "csv",
      "table": "event_participation",
      "key": "datasets/school-yearbook/v1/csv/event_participation.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/school-yearbook/v1/csv/event_participation.csv",
      "bytes": 2755,
      "sha256": "b4bfe8ad2d3b0aa13d4e95809a4d761230505af077cbc2a569357999ee4fe490",
      "rows": 250,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "school-yearbook.json",
      "format": "json",
      "table": null,
      "key": "datasets/school-yearbook/v1/school-yearbook.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/school-yearbook/v1/school-yearbook.json",
      "bytes": 129430,
      "sha256": "16aba1c6bb1e0f277cc02e45b21196d22bd98de2ed828a18106bf4022cfd51e2",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/school-yearbook/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/school-yearbook/v1/sql/postgres.sql",
      "bytes": 53497,
      "sha256": "cf4c86367716cff74aba7a2ff5ef93ad1cd71b31b0ff279a09fdebe7c0e3337c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/school-yearbook/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/school-yearbook/v1/sql/mysql.sql",
      "bytes": 52798,
      "sha256": "b4194da4d91a6e32c1883a96cca533bd6f7e738c94b2bc17502a09701a4ac75e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/school-yearbook/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/school-yearbook/v1/sql/mssql.sql",
      "bytes": 54426,
      "sha256": "9c5b48175d5d147a686e9c5fc4e83ef6a04d36c7940a8c8d7e858d87719bf8c7",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/school-yearbook/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/school-yearbook/v1/sql/sqlite.sql",
      "bytes": 52571,
      "sha256": "1f0434712d58f9152cfc62933259a36868ffb3b0048612c7c829bcefe3d3a733",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/school-yearbook/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/school-yearbook/v1/prisma/seed.ts",
      "bytes": 105547,
      "sha256": "b9818177db1c140fbd59db2e7adc05a922393d7c5faf54e6eda355288b940a70",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/school-yearbook/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/school-yearbook/v1/django/fixtures.json",
      "bytes": 161459,
      "sha256": "17fadae62c2e889239e596b2ec0e71fa7bf30d997ccc3d818ce79a0f7a54cfde",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766741725,
  "updatedAt": 1788766741725
}
