{
  "format": "dataset-manifest/1",
  "slug": "ai-powered-customizable-personal-finance-solutions",
  "version": 3,
  "seed": "ai-powered-customizable-personal-finance-solutions:1",
  "spec": {
    "format": "dataset/1",
    "slug": "ai-powered-customizable-personal-finance-solutions",
    "name": "Personal Finance Insights",
    "tagline": "User profiles, financial institutions, transactions, budgets, and loans in personal finance management.",
    "description": "Individuals manage their money, seeking to achieve financial stability and growth through careful tracking of income, expenses, and savings. Users create profiles that detail their financial situations, providing insights into their unique spending habits. They interact with various financial institutions, where they hold accounts, take out loans, and make investments. Users record transactions that detail their spending across multiple categories, including common expenses such as groceries and utilities, as well as less frequent but significant financial activities like loan payments and investment purchases. \n\nThe users table holds individual profiles, each representing a unique person using the platform. Each user can link to multiple transactions in the transactions table, which records every financial activity associated with them, detailing amounts, categories, and dates. Financial institutions from the financial_institutions table are referenced in these transactions, indicating where users have accounts or loans. The budgets table provides insights into users' planned expenditures compared to actual spending through transactions, while the loans table tracks any debts and payment schedules associated with the users. \n\nThis dataset is particularly useful for answering questions related to personal finance management, such as how spending patterns change over time, the effectiveness of budgeting strategies, and the relationship between users' financial habits and their loan repayments. Analysts can explore correlations between spending categories and income levels, assess the impact of budgeting on financial health, or identify trends in loan usage among different user demographics. As this data is synthetic, it allows developers and analysts to practice their skills without the constraints of real-world data privacy and compliance issues.",
    "domain": "fintech",
    "shape": "ledger",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "personal finance",
      "transactions",
      "budgeting",
      "loans",
      "financial institutions",
      "user profiles"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table contains user profiles, linking to their financial activities. Each row represents a unique user with their financial situation.",
        "rows": 200,
        "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": "Email address of the user."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "Account creation date.",
            "dayProfile": "business"
          }
        }
      },
      "financial_institutions": {
        "description": "This table lists various financial institutions where users can manage their accounts. Each institution has unique offerings.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each financial institution."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Name of the financial institution.",
            "pool": [
              "bank",
              "credit",
              "union",
              "trust",
              "capital",
              "financial",
              "services",
              "investments",
              "group",
              "associates",
              "advisors",
              "partners",
              "holdings",
              "wealth",
              "management",
              "solutions",
              "insurance",
              "mortgage",
              "lending",
              "cooperative",
              "brokerage",
              "pension",
              "retirement",
              "fund",
              "asset",
              "advisory",
              "strategies",
              "global",
              "international",
              "regional",
              "local",
              "community",
              "investment",
              "development",
              "research",
              "analytics",
              "payments",
              "technology",
              "digital",
              "platform",
              "app",
              "mobile",
              "online",
              "service",
              "network",
              "exchange",
              "marketplace",
              "creditor",
              "debtor",
              "fintech",
              "innovation",
              "growth",
              "equity",
              "debt",
              "portfolio",
              "risk",
              "compliance",
              "regulatory"
            ]
          },
          "type": {
            "kind": "enum",
            "values": [
              "bank",
              "credit_union",
              "investment_firm"
            ],
            "description": "Type of financial institution.",
            "weights": [
              7,
              2,
              1
            ]
          },
          "website": {
            "kind": "url",
            "description": "Website URL of the financial institution.",
            "nullable": true,
            "when": {
              "column": "type",
              "in": [
                "bank",
                "credit_union",
                "investment_firm"
              ]
            }
          }
        }
      },
      "transactions": {
        "description": "This table records all financial transactions made by users, including income and expenses. Each transaction is linked to a user.",
        "rows": 800,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each transaction."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Identifier linking to the user."
          },
          "amount": {
            "kind": "decimal",
            "min": 0,
            "max": 10000,
            "scale": 2,
            "description": "Transaction amount in USD.",
            "nullable": true,
            "when": {
              "column": "category",
              "in": [
                "groceries",
                "utilities",
                "rent",
                "entertainment",
                "investment"
              ]
            },
            "distribution": "long-tail"
          },
          "category": {
            "kind": "enum",
            "values": [
              "groceries",
              "utilities",
              "rent",
              "entertainment",
              "investment"
            ],
            "description": "Category of the transaction.",
            "weights": [
              5,
              4,
              3,
              2,
              1
            ]
          },
          "transaction_date": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-01-01",
            "description": "Date of the transaction.",
            "dayProfile": "waking",
            "trend": "growing"
          }
        }
      },
      "budgets": {
        "description": "This table outlines budget plans for users, indicating their financial goals. Each budget entry links to a user.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each budget."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Identifier linking to the user."
          },
          "total_budget": {
            "kind": "decimal",
            "min": 100,
            "max": 5000,
            "scale": 2,
            "description": "Total budget amount in USD.",
            "nullable": true,
            "when": {
              "column": "category",
              "in": [
                "groceries",
                "utilities",
                "entertainment"
              ]
            },
            "distribution": "high"
          },
          "category": {
            "kind": "enum",
            "values": [
              "groceries",
              "utilities",
              "entertainment"
            ],
            "description": "Budget category.",
            "weights": [
              6,
              3,
              1
            ]
          },
          "created_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2023-01-01",
            "description": "Date when the budget was created.",
            "dayProfile": "business"
          }
        }
      },
      "loans": {
        "description": "This table contains information regarding loans taken by users, including details about the lender and loan amount.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each loan."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Identifier linking to the user."
          },
          "financial_institution_id": {
            "kind": "fk",
            "ref": "financial_institutions.id",
            "description": "Identifier linking to the financial institution."
          },
          "amount": {
            "kind": "decimal",
            "min": 1000,
            "max": 50000,
            "scale": 2,
            "description": "Loan amount in USD.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "active",
                "paid_off",
                "defaulted"
              ]
            },
            "distribution": "heavy-tail"
          },
          "status": {
            "kind": "enum",
            "values": [
              "active",
              "paid_off",
              "defaulted"
            ],
            "description": "Current status of the loan.",
            "weights": [
              6,
              3,
              1
            ]
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "Date when the loan was issued.",
            "dayProfile": "business"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "monetary",
      "nullable",
      "timestamped"
    ],
    "analysisQuestions": [
      "What are the most common categories for user expenses?",
      "How much do users typically allocate for savings each month?",
      "What percentage of users have loans, and how does it affect their budgeting?",
      "Which financial institutions are most frequently used by users?",
      "What trends can be observed in the income and expenses over the year?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Transactions",
        "sql": "SELECT u.full_name, t.amount, t.category FROM users u JOIN transactions t ON u.id = t.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Budget by Category",
        "sql": "SELECT b.category, AVG(b.total_budget) as average_budget FROM budgets b GROUP BY b.category;",
        "dialect": "postgres"
      },
      {
        "title": "Total Loan Amount by Financial Institution",
        "sql": "SELECT fi.name, SUM(l.amount) as total_loans FROM loans l JOIN financial_institutions fi ON l.financial_institution_id = fi.id GROUP BY fi.name;",
        "dialect": "postgres"
      },
      {
        "title": "Monthly Spending Trends",
        "sql": "SELECT DATE_TRUNC('month', t.transaction_date) as month, SUM(t.amount) as total_spent FROM transactions t GROUP BY month ORDER BY month;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Personal Finance Educator",
        "body": "An educator teaching personal finance can use this dataset to demonstrate how different financial elements interact. By analyzing user transactions and budgets, they can create real-world scenarios that help students understand budgeting, savings, and managing loans."
      },
      {
        "title": "Financial Analyst",
        "body": "A financial analyst can leverage this dataset to assess spending patterns among users. By identifying trends in transaction categories, they can provide insights on common financial behaviors and suggest areas where users can optimize their spending."
      },
      {
        "title": "App Developer",
        "body": "An app developer can use this dataset to build a personal finance management application. By simulating user interactions with budgets, transactions, and loans, the developer can test features and ensure the app provides valuable insights to users."
      }
    ]
  },
  "counts": {
    "financial_institutions": 50,
    "users": 200,
    "budgets": 150,
    "loans": 100,
    "transactions": 800
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 195,
          "min": "Alice Bennett",
          "max": "Zoe Tanaka"
        },
        "email": {
          "nulls": 0,
          "distinct": 198
        },
        "created_at": {
          "nulls": 0,
          "distinct": 200,
          "min": "2020-01-01 12:04:43",
          "max": "2022-12-31 16:36:01"
        }
      }
    },
    "financial_institutions": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "name": {
          "nulls": 0,
          "distinct": 48
        },
        "type": {
          "nulls": 0,
          "distinct": 3,
          "min": "bank",
          "max": "investment_firm"
        },
        "website": {
          "nulls": 0,
          "distinct": 50
        }
      }
    },
    "transactions": {
      "rows": 800,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 800,
          "min": 1,
          "max": 800
        },
        "user_id": {
          "nulls": 0,
          "distinct": 197,
          "min": 1,
          "max": 200
        },
        "amount": {
          "nulls": 0,
          "distinct": 798,
          "min": 0,
          "max": 9874.14
        },
        "category": {
          "nulls": 0,
          "distinct": 5,
          "min": "entertainment",
          "max": "utilities"
        },
        "transaction_date": {
          "nulls": 0,
          "distinct": 800,
          "min": "2022-01-01 00:24:18",
          "max": "2023-01-01 20:02:59"
        }
      }
    },
    "budgets": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "user_id": {
          "nulls": 0,
          "distinct": 109,
          "min": 2,
          "max": 198
        },
        "total_budget": {
          "nulls": 0,
          "distinct": 150,
          "min": 100.12,
          "max": 4999.88
        },
        "category": {
          "nulls": 0,
          "distinct": 3,
          "min": "entertainment",
          "max": "utilities"
        },
        "created_at": {
          "nulls": 0,
          "distinct": 150,
          "min": "2021-01-05 08:55:39",
          "max": "2023-01-01 11:18:38"
        }
      }
    },
    "loans": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "user_id": {
          "nulls": 0,
          "distinct": 78,
          "min": 1,
          "max": 199
        },
        "financial_institution_id": {
          "nulls": 0,
          "distinct": 42,
          "min": 1,
          "max": 50
        },
        "amount": {
          "nulls": 0,
          "distinct": 100,
          "min": 1000,
          "max": 49954.44
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "active",
          "max": "paid_off"
        },
        "created_at": {
          "nulls": 0,
          "distinct": 100,
          "min": "2020-01-13 15:47:22",
          "max": "2023-01-01 17:28:50"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/financial_institutions.csv",
      "format": "csv",
      "table": "financial_institutions",
      "key": "datasets/ai-powered-customizable-personal-finance-solutions/v3/csv/financial_institutions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-customizable-personal-finance-solutions/v3/csv/financial_institutions.csv",
      "bytes": 3147,
      "sha256": "0b0a7e961fbe3e843f0bddfdc1429e495448bf4cbb11e4533438194fb40252e9",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/ai-powered-customizable-personal-finance-solutions/v3/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-customizable-personal-finance-solutions/v3/csv/users.csv",
      "bytes": 12105,
      "sha256": "f359851e013f216e5cb78fea1838a9d9e9811a21f8bc98ce6a9a4302082af72e",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/budgets.csv",
      "format": "csv",
      "table": "budgets",
      "key": "datasets/ai-powered-customizable-personal-finance-solutions/v3/csv/budgets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-customizable-personal-finance-solutions/v3/csv/budgets.csv",
      "bytes": 6945,
      "sha256": "ca95ce57d842f42249af736a64dc64db98b51d1598ead57b96ba3083ecb24b15",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/loans.csv",
      "format": "csv",
      "table": "loans",
      "key": "datasets/ai-powered-customizable-personal-finance-solutions/v3/csv/loans.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-customizable-personal-finance-solutions/v3/csv/loans.csv",
      "bytes": 4700,
      "sha256": "291b858375ac1474c1c98184ce84d8249268859bb3cf1c50fd63f8d19004cbeb",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/transactions.csv",
      "format": "csv",
      "table": "transactions",
      "key": "datasets/ai-powered-customizable-personal-finance-solutions/v3/csv/transactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-customizable-personal-finance-solutions/v3/csv/transactions.csv",
      "bytes": 36292,
      "sha256": "ff32c328bcadf0bf4e050c19b99c19f40af87c54e0884d04c0f146ada78aa24f",
      "rows": 800,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "ai-powered-customizable-personal-finance-solutions.json",
      "format": "json",
      "table": null,
      "key": "datasets/ai-powered-customizable-personal-finance-solutions/v3/ai-powered-customizable-personal-finance-solutions.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-customizable-personal-finance-solutions/v3/ai-powered-customizable-personal-finance-solutions.json",
      "bytes": 201387,
      "sha256": "270267b284e12f71c6fb6f3498d834750323d94424319e3bb067602a30833f73",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/ai-powered-customizable-personal-finance-solutions/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-customizable-personal-finance-solutions/v3/sql/postgres.sql",
      "bytes": 84730,
      "sha256": "49f69c849691559c37b62016486265302615b01ba6a1dc41e6b6e7147acf8e5f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/ai-powered-customizable-personal-finance-solutions/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-customizable-personal-finance-solutions/v3/sql/mysql.sql",
      "bytes": 84157,
      "sha256": "f605125ea57034104ebefae065512fbe455aec9571210d2cea2eb32c23694e36",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/ai-powered-customizable-personal-finance-solutions/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-customizable-personal-finance-solutions/v3/sql/mssql.sql",
      "bytes": 87346,
      "sha256": "984b67780d6590bff5d188af66e10e65ab46c0af857908a912908d593670a45c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/ai-powered-customizable-personal-finance-solutions/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-customizable-personal-finance-solutions/v3/sql/sqlite.sql",
      "bytes": 83942,
      "sha256": "2c6965aa94763739f2d78e95d780d1a2f10f7d969f83ae9697152612808da09b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/ai-powered-customizable-personal-finance-solutions/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-customizable-personal-finance-solutions/v3/prisma/seed.ts",
      "bytes": 172850,
      "sha256": "7f61494f2e828f03c654303dc092cd7ec9fa08cc0560f8e38c9126726e9cfad9",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/ai-powered-customizable-personal-finance-solutions/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-customizable-personal-finance-solutions/v3/django/fixtures.json",
      "bytes": 261337,
      "sha256": "4651bf9932ce8307b4b6908c9076f46b36df73e1300fb1817d23e07ce5fc8680",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788734302012,
  "updatedAt": 1788782221583
}
