{
  "format": "dataset-manifest/1",
  "slug": "pension-and-retirement-planning-app",
  "version": 2,
  "seed": "pension-and-retirement-planning-app:1",
  "spec": {
    "format": "dataset/1",
    "slug": "pension-and-retirement-planning-app",
    "name": "Retirement Savings Insights",
    "tagline": "Pension contributions, assets, and beneficiaries of individuals planning for retirement.",
    "description": "Individuals seek to secure their financial futures by navigating the complexities of pension and retirement planning. They accumulate assets over many years through regular pension contributions, aiming to build a substantial nest egg for retirement. While many enjoy stable employment with consistent contributions, others may face irregular income, resulting in varied investment strategies. This dataset captures the nuances of these individuals’ financial journeys, detailing their assets, contributions, beneficiaries, and the advisor appointments they schedule to optimize their retirement plans.\n\nThe dataset is structured across five interconnected tables: individuals, pension_contributions, assets, beneficiaries, and advisor_appointments. Each individual in the 'individuals' table represents a unique client, capturing their demographic and employment-related information. The 'pension_contributions' table tracks the regular contributions made by each individual over time, providing insights into their saving behavior. The 'assets' table lists the various financial products and investments each individual holds, detailing their current value and type. As individuals prepare for retirement, the 'beneficiaries' table outlines who will receive their assets, emphasizing the importance of planning for loved ones. Lastly, the 'advisor_appointments' table records the meetings individuals have with financial advisors, indicating the support they seek in navigating their retirement strategies.\n\nThis dataset answers essential questions about retirement savings, such as patterns in pension contributions, the types of assets preferred by different demographic groups, and how often individuals consult financial advisors as they approach retirement. It is valuable for practicing data analysis and visualization skills, uncovering trends and insights that can drive more effective retirement planning. Keep in mind that the data is synthetic, designed to mirror real-world scenarios without disclosing any private information.",
    "domain": "insurance",
    "shape": "slowly-changing",
    "useCases": [
      "etl-pipelines",
      "teaching"
    ],
    "keywords": [
      "retirement",
      "pension",
      "financial planning",
      "savings",
      "assets",
      "beneficiaries",
      "advisor appointments"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "individuals": {
        "description": "This table contains personal information about individuals planning for retirement. Each row represents a unique individual with relevant demographic details.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the individual."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the individual."
          },
          "age": {
            "kind": "int",
            "min": 25,
            "max": 65,
            "description": "Age of the individual, representing typical retirement planning ages."
          },
          "employment_status": {
            "kind": "enum",
            "values": [
              "employed",
              "self-employed",
              "unemployed",
              "retired"
            ],
            "description": "Current employment status of the individual.",
            "weights": [
              6,
              2,
              1,
              3
            ]
          },
          "income_pattern": {
            "kind": "enum",
            "values": [
              "stable",
              "irregular"
            ],
            "description": "Indicates whether the individual's income is stable or irregular.",
            "weights": [
              7,
              3
            ]
          }
        }
      },
      "pension_contributions": {
        "description": "This table tracks the pension contributions made by individuals over time, capturing the frequency and amount of contributions.",
        "rows": {
          "per": "individuals",
          "via": "individual_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the pension contribution entry."
          },
          "individual_id": {
            "kind": "fk",
            "ref": "individuals.id",
            "description": "Reference to the individual making the contribution."
          },
          "contribution_amount": {
            "kind": "decimal",
            "min": 100,
            "max": 5000,
            "scale": 2,
            "description": "Amount contributed to the pension plan.",
            "distribution": "long-tail"
          },
          "contribution_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the contribution was made.",
            "trend": "growing"
          }
        }
      },
      "assets": {
        "description": "This table lists the various assets accumulated by individuals as part of their retirement planning, detailing asset types and values.",
        "rows": {
          "per": "individuals",
          "via": "individual_id",
          "min": 1,
          "max": 4,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the asset entry."
          },
          "individual_id": {
            "kind": "fk",
            "ref": "individuals.id",
            "description": "Reference to the individual owning the asset."
          },
          "asset_type": {
            "kind": "enum",
            "values": [
              "stocks",
              "bonds",
              "real estate",
              "cash"
            ],
            "description": "Type of asset accumulated.",
            "weights": [
              5,
              4,
              3,
              2
            ]
          },
          "asset_value": {
            "kind": "decimal",
            "min": 1000,
            "max": 1000000,
            "scale": 2,
            "description": "Current market value of the asset.",
            "distribution": "heavy-tail"
          }
        }
      },
      "beneficiaries": {
        "description": "This table holds information about beneficiaries designated by individuals for their retirement plans, including their relationship to the individual.",
        "rows": {
          "per": "individuals",
          "via": "individual_id",
          "min": 1,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the beneficiary entry."
          },
          "individual_id": {
            "kind": "fk",
            "ref": "individuals.id",
            "description": "Reference to the individual designating the beneficiary."
          },
          "beneficiary_name": {
            "kind": "fullName",
            "description": "Full name of the beneficiary."
          },
          "relationship": {
            "kind": "enum",
            "values": [
              "spouse",
              "child",
              "sibling",
              "friend"
            ],
            "description": "Relationship of the beneficiary to the individual."
          }
        }
      },
      "advisor_appointments": {
        "description": "This table records the appointments individuals have with financial advisors, capturing the details of each meeting.",
        "rows": {
          "per": "individuals",
          "via": "individual_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the advisor appointment entry."
          },
          "individual_id": {
            "kind": "fk",
            "ref": "individuals.id",
            "description": "Reference to the individual attending the appointment."
          },
          "appointment_date": {
            "kind": "date",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Date of the appointment with the financial advisor."
          },
          "advisor_name": {
            "kind": "fullName",
            "description": "The name of the financial advisor."
          },
          "appointment_notes": {
            "kind": "sentence",
            "description": "Notes taken during the appointment."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "How do pension contributions vary by employment status?",
      "What types of assets are most commonly held by individuals approaching retirement?",
      "How many beneficiaries are typically designated per individual?",
      "What patterns can be observed in advisor appointment frequency?",
      "How does income stability affect contribution amounts?"
    ],
    "suggestedQueries": [
      {
        "title": "Get all pension contributions for each individual",
        "sql": "SELECT i.full_name, pc.contribution_amount, pc.contribution_date FROM individuals i JOIN pension_contributions pc ON i.id = pc.individual_id;",
        "dialect": "postgres"
      },
      {
        "title": "Aggregate total assets by individual",
        "sql": "SELECT i.full_name, SUM(a.asset_value) AS total_assets FROM individuals i JOIN assets a ON i.id = a.individual_id GROUP BY i.full_name;",
        "dialect": "postgres"
      },
      {
        "title": "Count beneficiaries by relationship type",
        "sql": "SELECT relationship, COUNT(*) FROM beneficiaries GROUP BY relationship;",
        "dialect": "postgres"
      },
      {
        "title": "Find individuals with the most advisor appointments",
        "sql": "SELECT i.full_name, COUNT(aa.id) AS appointment_count FROM individuals i JOIN advisor_appointments aa ON i.id = aa.individual_id GROUP BY i.full_name ORDER BY appointment_count DESC;",
        "dialect": "postgres"
      },
      {
        "title": "Analyze contribution amounts based on income pattern",
        "sql": "SELECT income_pattern, AVG(pc.contribution_amount) AS avg_contribution FROM individuals i JOIN pension_contributions pc ON i.id = pc.individual_id GROUP BY income_pattern;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Financial Educators",
        "body": "Financial educators can use this dataset to teach students about the importance of retirement planning. By analyzing how individuals contribute to their pensions and manage their assets, students can learn about investment strategies, the impact of income stability on contributions, and the role of financial advisors. This practical exercise allows students to apply theoretical concepts in a real-world context, enhancing their understanding of personal finance."
      },
      {
        "title": "Data Analysts in Insurance",
        "body": "Data analysts in the insurance industry can leverage this dataset to identify trends in retirement planning. By examining the relationships between employment status, income patterns, and pension contributions, analysts can provide insights that help insurance companies tailor their products to better meet the needs of their customers. This dataset serves as a valuable tool for conducting market research and developing targeted marketing strategies."
      },
      {
        "title": "Financial Advisors",
        "body": "Financial advisors can utilize this dataset to refine their approaches to client consultations. By exploring the frequency and nature of advisor appointments, they can assess how well they engage with clients and identify opportunities for improvement. Additionally, understanding the common assets held by clients can enhance their ability to provide tailored advice, ensuring that clients are on track to meet their retirement goals."
      },
      {
        "title": "ETL Pipeline Developers",
        "body": "ETL pipeline developers can use this dataset to simulate the extraction, transformation, and loading processes for financial data. By integrating various tables, they can practice building robust data pipelines that aggregate and analyze retirement savings information. This exercise helps them gain hands-on experience in managing and processing financial datasets while ensuring data quality and integrity throughout the pipeline."
      }
    ]
  },
  "counts": {
    "individuals": 200,
    "advisor_appointments": 474,
    "assets": 392,
    "beneficiaries": 328,
    "pension_contributions": 448
  },
  "stats": {
    "individuals": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 195,
          "min": "Alice Sato",
          "max": "Zoe Johnson"
        },
        "age": {
          "nulls": 0,
          "distinct": 40,
          "min": 25,
          "max": 65
        },
        "employment_status": {
          "nulls": 0,
          "distinct": 4,
          "min": "employed",
          "max": "unemployed"
        },
        "income_pattern": {
          "nulls": 0,
          "distinct": 2,
          "min": "irregular",
          "max": "stable"
        }
      }
    },
    "pension_contributions": {
      "rows": 448,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 448,
          "min": 1,
          "max": 448
        },
        "individual_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "contribution_amount": {
          "nulls": 0,
          "distinct": 447,
          "min": 100,
          "max": 4987.34
        },
        "contribution_date": {
          "nulls": 0,
          "distinct": 382,
          "min": "2020-01-04",
          "max": "2023-12-31"
        }
      }
    },
    "assets": {
      "rows": 392,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 392,
          "min": 1,
          "max": 392
        },
        "individual_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "asset_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "bonds",
          "max": "stocks"
        },
        "asset_value": {
          "nulls": 0,
          "distinct": 391,
          "min": 1000,
          "max": 999054.53
        }
      }
    },
    "beneficiaries": {
      "rows": 328,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 328,
          "min": 1,
          "max": 328
        },
        "individual_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "beneficiary_name": {
          "nulls": 0,
          "distinct": 320,
          "min": "Alice Moreau",
          "max": "Zoe Yilmaz"
        },
        "relationship": {
          "nulls": 0,
          "distinct": 4,
          "min": "child",
          "max": "spouse"
        }
      }
    },
    "advisor_appointments": {
      "rows": 474,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 474,
          "min": 1,
          "max": 474
        },
        "individual_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "appointment_date": {
          "nulls": 0,
          "distinct": 347,
          "min": "2022-01-02",
          "max": "2023-12-30"
        },
        "advisor_name": {
          "nulls": 0,
          "distinct": 451,
          "min": "Alice Brown",
          "max": "Zoe Johnson"
        },
        "appointment_notes": {
          "nulls": 0,
          "distinct": 472
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/individuals.csv",
      "format": "csv",
      "table": "individuals",
      "key": "datasets/pension-and-retirement-planning-app/v2/csv/individuals.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pension-and-retirement-planning-app/v2/csv/individuals.csv",
      "bytes": 7499,
      "sha256": "f96c3cd22ff0144f9582d0f41f01a8e15e6d725788142ba00e2e340ceaef2ec0",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/advisor_appointments.csv",
      "format": "csv",
      "table": "advisor_appointments",
      "key": "datasets/pension-and-retirement-planning-app/v2/csv/advisor_appointments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pension-and-retirement-planning-app/v2/csv/advisor_appointments.csv",
      "bytes": 41595,
      "sha256": "be3e9df23dfa2dfee40c82c81b9b6533f1f3525595a4c2bd2047d9d573709585",
      "rows": 474,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/assets.csv",
      "format": "csv",
      "table": "assets",
      "key": "datasets/pension-and-retirement-planning-app/v2/csv/assets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pension-and-retirement-planning-app/v2/csv/assets.csv",
      "bytes": 9806,
      "sha256": "bb979868a0abe71fd1798802c542e126bbcc781873a2d7499ffbc8b7ac26b688",
      "rows": 392,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/beneficiaries.csv",
      "format": "csv",
      "table": "beneficiaries",
      "key": "datasets/pension-and-retirement-planning-app/v2/csv/beneficiaries.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pension-and-retirement-planning-app/v2/csv/beneficiaries.csv",
      "bytes": 9002,
      "sha256": "89f7ad43d898424a31b30a9fecfc0334b34510646146d2d50e9ce5c593a564df",
      "rows": 328,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/pension_contributions.csv",
      "format": "csv",
      "table": "pension_contributions",
      "key": "datasets/pension-and-retirement-planning-app/v2/csv/pension_contributions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pension-and-retirement-planning-app/v2/csv/pension_contributions.csv",
      "bytes": 12039,
      "sha256": "e3a08e74f72360f98bdb4f831defc019388805a79f710730276532c4c539c987",
      "rows": 448,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "pension-and-retirement-planning-app.json",
      "format": "json",
      "table": null,
      "key": "datasets/pension-and-retirement-planning-app/v2/pension-and-retirement-planning-app.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pension-and-retirement-planning-app/v2/pension-and-retirement-planning-app.json",
      "bytes": 283784,
      "sha256": "d6a03709da4f28fde74af1ce509e01e01cafca58330f4c2d67f40ec036a59dca",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/pension-and-retirement-planning-app/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pension-and-retirement-planning-app/v2/sql/postgres.sql",
      "bytes": 107536,
      "sha256": "b31541c82984a8ba0dbf23cf4e1226305f4b8e073ddb6f49764cdae058874078",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/pension-and-retirement-planning-app/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pension-and-retirement-planning-app/v2/sql/mysql.sql",
      "bytes": 106923,
      "sha256": "edc11ab9d68ad69a2944a9a5a15bfbac3579c960cf01cd0182d9ec22ddca6543",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/pension-and-retirement-planning-app/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pension-and-retirement-planning-app/v2/sql/mssql.sql",
      "bytes": 110824,
      "sha256": "8449841954d9f9b46f685df4daecd7275e7ee3293dc48afe27c04ed557c26a1b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/pension-and-retirement-planning-app/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pension-and-retirement-planning-app/v2/sql/sqlite.sql",
      "bytes": 106667,
      "sha256": "697b48f070e3fc485c515ec211ecbdaabcce18650ef8eac4985045ffea3a05b3",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/pension-and-retirement-planning-app/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pension-and-retirement-planning-app/v2/prisma/seed.ts",
      "bytes": 229547,
      "sha256": "432c231143c7afec354a321f98d9f8c2ed56a2e210e613d9e9fda14ee6df95b9",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/pension-and-retirement-planning-app/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pension-and-retirement-planning-app/v2/django/fixtures.json",
      "bytes": 373274,
      "sha256": "ec9306bf9d1cbe00b00907c594ddc8d373a9d7bc96e78d825c932b96db671831",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766749471,
  "updatedAt": 1788785390269
}
