{
  "format": "dataset-manifest/1",
  "slug": "database-for-electronic-vote-system",
  "version": 3,
  "seed": "database-for-electronic-vote-system:1",
  "spec": {
    "format": "dataset/1",
    "slug": "database-for-electronic-vote-system",
    "name": "Electronic Voting Insights",
    "tagline": "Voter registrations, ballot candidates, referendums, and staff assignments for effective election management.",
    "description": "Running elections effectively hinges on accurate voter engagement and ballot management. Voter registrations reflect the efforts made to ensure that citizens have registered to vote, while ballot candidates indicate who is standing for election in various constituencies. Referendums provide a platform for direct democracy, showcasing key issues for public decision-making. Staff assignments detail the personnel involved in the electoral process, and biometric credentials ensure that the integrity of voter identification is maintained throughout. \n\nEach row in the voter_registrations table represents an individual voter with their registration details, which can be linked to the ballot_candidates table by constituency. The ballot_candidates table contains the candidates running for election, and this can be joined with the referendums table to analyze which candidates are associated with specific measures on the ballot. Staff assignments provide context on who is responsible for managing these elections, linking back to both the voter registrations and ballot candidates through their roles in the electoral process. Biometric credentials serve as a critical verification tool, ensuring that the data from voter registrations is accurately reflected during voting. \n\nThis dataset answers vital questions about voter demographics, participation rates, and the effectiveness of outreach efforts during elections. It allows for exploration of patterns in voter turnout, revealing that high participation often clusters around major referendums, while indicating potential gaps where certain constituencies may have fewer registered voters. The insights drawn from this data are invaluable for practicing analytical skills in data management, public policy analysis, and electoral integrity. It is important to note that all data in this dataset is synthetic, designed to mimic real-world scenarios for training and development purposes.",
    "domain": "hr",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "voter registration",
      "elections",
      "referendums",
      "ballot candidates",
      "voter turnout",
      "staff assignments",
      "biometric credentials"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "voter_registrations": {
        "description": "This table records individual voter registrations, linking each voter to their constituency and party affiliation.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each voter registration."
          },
          "full_name": {
            "kind": "fullName",
            "description": "Full name of the registered voter."
          },
          "registration_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the voter registered.",
            "trend": "growing"
          },
          "constituency": {
            "kind": "city",
            "description": "The constituency where the voter is registered."
          },
          "party_affiliation": {
            "kind": "enum",
            "values": [
              "Democrat",
              "Republican",
              "Independent",
              "Other"
            ],
            "description": "Political party the voter is affiliated with.",
            "weights": [
              6,
              3,
              2,
              1
            ]
          }
        }
      },
      "ballot_candidates": {
        "description": "This table lists candidates running in various elections, linked to the respective elections and constituencies.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each ballot candidate."
          },
          "name": {
            "kind": "fullName",
            "description": "Full name of the candidate."
          },
          "election_year": {
            "kind": "int",
            "min": 2020,
            "max": 2023,
            "description": "The year of the election."
          },
          "constituency": {
            "kind": "city",
            "description": "The constituency where the candidate is running."
          },
          "party_affiliation": {
            "kind": "enum",
            "values": [
              "Democrat",
              "Republican",
              "Independent",
              "Other"
            ],
            "description": "Political party the candidate represents.",
            "weights": [
              5,
              4,
              2,
              1
            ]
          }
        }
      },
      "referendums": {
        "description": "This table contains information about referendums, including their titles, descriptions, and related election years.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each referendum."
          },
          "title": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Title of the referendum.",
            "pool": [
              "election",
              "vote",
              "referendum",
              "choice",
              "decision",
              "poll",
              "mandate",
              "plebiscite",
              "initiative",
              "measure",
              "proposal",
              "resolution",
              "amendment",
              "law",
              "policy",
              "issue",
              "topic",
              "subject",
              "question",
              "statement"
            ]
          },
          "description": {
            "kind": "sentence",
            "description": "Brief description of the referendum."
          },
          "election_year": {
            "kind": "int",
            "min": 2020,
            "max": 2023,
            "description": "The year when the referendum is held."
          }
        }
      },
      "staff_assignments": {
        "description": "This table tracks the assignments of staff during elections, linking them to specific roles and constituencies.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each staff assignment."
          },
          "full_name": {
            "kind": "fullName",
            "description": "Full name of the staff member."
          },
          "role": {
            "kind": "enum",
            "values": [
              "Poll Worker",
              "Election Officer",
              "Security",
              "Other"
            ],
            "description": "Role of the staff member during the election.",
            "weights": [
              7,
              5,
              2,
              1
            ]
          },
          "constituency": {
            "kind": "city",
            "description": "The constituency where the staff member is assigned."
          },
          "election_year": {
            "kind": "int",
            "min": 2020,
            "max": 2023,
            "description": "The year of the election."
          }
        }
      },
      "biometric_credentials": {
        "description": "This table holds biometric credential records for staff members, ensuring they can access election sites securely.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each biometric credential."
          },
          "staff_id": {
            "kind": "fk",
            "ref": "staff_assignments.id",
            "description": "References the staff member to whom this credential belongs."
          },
          "biometric_type": {
            "kind": "enum",
            "values": [
              "Fingerprint",
              "Facial Recognition",
              "Iris Scan"
            ],
            "description": "Type of biometric credential.",
            "weights": [
              6,
              2,
              1
            ]
          },
          "issued_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the biometric credential was issued.",
            "trend": "growing"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "categorical",
      "nullable"
    ],
    "analysisQuestions": [
      "What trends can be observed in voter registration over different election years?",
      "How does party affiliation affect voter turnout in various constituencies?",
      "What is the impact of major referendums on overall voter participation?",
      "How are staff assignments distributed across different roles and constituencies?",
      "What types of biometric credentials are most commonly issued to election staff?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Voter Registrations and Ballot Candidates",
        "sql": "SELECT vr.full_name, bc.name FROM voter_registrations vr JOIN ballot_candidates bc ON vr.constituency = bc.constituency",
        "dialect": "postgres"
      },
      {
        "title": "Count Registered Voters by Party Affiliation",
        "sql": "SELECT party_affiliation, COUNT(*) as voter_count FROM voter_registrations GROUP BY party_affiliation",
        "dialect": "postgres"
      },
      {
        "title": "Voter Turnout During Referendums",
        "sql": "SELECT r.title, COUNT(vr.id) as registered_voters FROM referendums r LEFT JOIN voter_registrations vr ON r.election_year = vr.registration_date::int GROUP BY r.title",
        "dialect": "postgres"
      },
      {
        "title": "Staff Assignments by Role and Constituency",
        "sql": "SELECT role, constituency, COUNT(*) as staff_count FROM staff_assignments GROUP BY role, constituency",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Political Analysts",
        "body": "Political analysts can utilize the Electronic Voting Insights dataset to assess how different factors such as party affiliations and referendums influence voter turnout. By analyzing trends over multiple election years, they can provide insights into the effectiveness of campaign strategies and voter mobilization efforts."
      },
      {
        "title": "Election Management Teams",
        "body": "Election management teams can leverage this dataset to monitor staff assignments and ensure that all roles are adequately filled across constituencies during elections. This helps in identifying staffing gaps and ensuring that each polling place is properly managed."
      },
      {
        "title": "Data Scientists",
        "body": "Data scientists interested in electoral processes can employ this dataset to develop predictive models that forecast voter turnout based on historical data. By understanding the relationships between voter registrations, ballot candidates, and referendums, they can contribute to enhancing electoral strategies."
      },
      {
        "title": "Civic Organizations",
        "body": "Civic organizations focused on increasing voter engagement can use the data to identify constituencies with low voter registrations. This information can help them tailor outreach programs aimed at boosting participation rates in upcoming elections."
      }
    ]
  },
  "counts": {
    "ballot_candidates": 300,
    "referendums": 100,
    "staff_assignments": 200,
    "biometric_credentials": 200,
    "voter_registrations": 500
  },
  "stats": {
    "voter_registrations": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "full_name": {
          "nulls": 0,
          "distinct": 472,
          "min": "Alice Bennett",
          "max": "Zoe Young"
        },
        "registration_date": {
          "nulls": 0,
          "distinct": 423,
          "min": "2020-01-06",
          "max": "2023-12-29"
        },
        "constituency": {
          "nulls": 0,
          "distinct": 63,
          "min": "Amsterdam",
          "max": "Zurich"
        },
        "party_affiliation": {
          "nulls": 0,
          "distinct": 4,
          "min": "Democrat",
          "max": "Republican"
        }
      }
    },
    "ballot_candidates": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "name": {
          "nulls": 0,
          "distinct": 295,
          "min": "Alice Gupta",
          "max": "Zoe Smith"
        },
        "election_year": {
          "nulls": 0,
          "distinct": 4,
          "min": 2020,
          "max": 2023
        },
        "constituency": {
          "nulls": 0,
          "distinct": 63,
          "min": "Amsterdam",
          "max": "Zurich"
        },
        "party_affiliation": {
          "nulls": 0,
          "distinct": 4,
          "min": "Democrat",
          "max": "Republican"
        }
      }
    },
    "referendums": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "title": {
          "nulls": 0,
          "distinct": 82
        },
        "description": {
          "nulls": 0,
          "distinct": 100
        },
        "election_year": {
          "nulls": 0,
          "distinct": 4,
          "min": 2020,
          "max": 2023
        }
      }
    },
    "staff_assignments": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 197,
          "min": "Alice Ruiz",
          "max": "Zoe Yilmaz"
        },
        "role": {
          "nulls": 0,
          "distinct": 4,
          "min": "Election Officer",
          "max": "Security"
        },
        "constituency": {
          "nulls": 0,
          "distinct": 63,
          "min": "Amsterdam",
          "max": "Zurich"
        },
        "election_year": {
          "nulls": 0,
          "distinct": 4,
          "min": 2020,
          "max": 2023
        }
      }
    },
    "biometric_credentials": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "staff_id": {
          "nulls": 0,
          "distinct": 130,
          "min": 1,
          "max": 197
        },
        "biometric_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "Facial Recognition",
          "max": "Iris Scan"
        },
        "issued_date": {
          "nulls": 0,
          "distinct": 193,
          "min": "2020-01-29",
          "max": "2023-12-31"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/ballot_candidates.csv",
      "format": "csv",
      "table": "ballot_candidates",
      "key": "datasets/database-for-electronic-vote-system/v3/csv/ballot_candidates.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-for-electronic-vote-system/v3/csv/ballot_candidates.csv",
      "bytes": 11849,
      "sha256": "00f523788f54971079717779663c4c406ac60629983b832cf2e59aad2f6276f7",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/referendums.csv",
      "format": "csv",
      "table": "referendums",
      "key": "datasets/database-for-electronic-vote-system/v3/csv/referendums.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-for-electronic-vote-system/v3/csv/referendums.csv",
      "bytes": 8186,
      "sha256": "c8d9773dff2b0f6fe00d337ba9a5c809e6f24678ecbad0e1b598b4c8bf0a0700",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/staff_assignments.csv",
      "format": "csv",
      "table": "staff_assignments",
      "key": "datasets/database-for-electronic-vote-system/v3/csv/staff_assignments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-for-electronic-vote-system/v3/csv/staff_assignments.csv",
      "bytes": 8502,
      "sha256": "b8c6b0af5a5542023d1cd68b83093a9516391bb07671d26db86d93a67c34844c",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/biometric_credentials.csv",
      "format": "csv",
      "table": "biometric_credentials",
      "key": "datasets/database-for-electronic-vote-system/v3/csv/biometric_credentials.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-for-electronic-vote-system/v3/csv/biometric_credentials.csv",
      "bytes": 6493,
      "sha256": "5f71e04b636a8d9fde7195da65073608bf9159de9b5f3215b2ac7fbba452d931",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/voter_registrations.csv",
      "format": "csv",
      "table": "voter_registrations",
      "key": "datasets/database-for-electronic-vote-system/v3/csv/voter_registrations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-for-electronic-vote-system/v3/csv/voter_registrations.csv",
      "bytes": 22875,
      "sha256": "fdcdb5fd654d360f965f6a39cf8df0d8b65b953c459e4ad9127b3513bdec76cf",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "database-for-electronic-vote-system.json",
      "format": "json",
      "table": null,
      "key": "datasets/database-for-electronic-vote-system/v3/database-for-electronic-vote-system.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-for-electronic-vote-system/v3/database-for-electronic-vote-system.json",
      "bytes": 209462,
      "sha256": "e2d97967b57ecb768c2027159a93526f1fa92d11d757f1591189d73edc253880",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/database-for-electronic-vote-system/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-for-electronic-vote-system/v3/sql/postgres.sql",
      "bytes": 81598,
      "sha256": "f20563897dc1181bdbd030bbc0e2ce02e156b845406bee0af37f27f566d498ea",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/database-for-electronic-vote-system/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-for-electronic-vote-system/v3/sql/mysql.sql",
      "bytes": 80961,
      "sha256": "43dc0adda19246cb39e2160d7e1f95896a22b5447db7c6c25784fb42a9d2f2e2",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/database-for-electronic-vote-system/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-for-electronic-vote-system/v3/sql/mssql.sql",
      "bytes": 85476,
      "sha256": "21671618906375580121dbf130621480a0c70febcf5161e9b73948963eafdaf2",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/database-for-electronic-vote-system/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-for-electronic-vote-system/v3/sql/sqlite.sql",
      "bytes": 80802,
      "sha256": "9b57815d7a5e0e49a4f90c27c4dfd892b6583c00f172d6ba652fb8ff0727295d",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/database-for-electronic-vote-system/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-for-electronic-vote-system/v3/prisma/seed.ts",
      "bytes": 166017,
      "sha256": "2c822c868444f556999898665ceac41012fb977ca0addd664ad478557214a609",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/database-for-electronic-vote-system/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-for-electronic-vote-system/v3/django/fixtures.json",
      "bytes": 277617,
      "sha256": "85ce1f013cf2d5bbdd85213c8c58db7a202989e5eb5b594a29ca001a4ef4cc71",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766851948,
  "updatedAt": 1788783334297
}
