{
  "format": "dataset-manifest/1",
  "slug": "ai-powered-interactive-home-improvement-advisor",
  "version": 4,
  "seed": "ai-powered-interactive-home-improvement-advisor:1",
  "spec": {
    "format": "dataset/1",
    "slug": "ai-powered-interactive-home-improvement-advisor",
    "name": "Home Improvement Insights",
    "tagline": "Home improvement project timelines, costs, permits, and compliance data from a government advisory service.",
    "description": "Home improvement projects are often complex endeavors that involve planning, permits, and a variety of tools and materials. This dataset assists homeowners by tracking projects through various stages, including the obtaining of necessary permits, scheduling inspections, and managing expenses. The table models key aspects such as project timelines, costs associated with different materials and tools, compliance with local regulations, and interactions between homeowners and the advisory service. The data illustrates how often projects face delays, particularly due to the permit process, which can cluster during peak times of the year. This synthetic dataset allows users to explore trends and patterns in home improvement projects, enabling better decision-making and resource allocation. Analysts can investigate the correlation between project costs and timelines, assess compliance rates with local regulations, and identify seasonal peaks in project activities.",
    "domain": "government",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "home improvement",
      "projects",
      "permits",
      "expenses",
      "inspections",
      "analytics"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "home_improvement_projects": {
        "description": "This table contains records of home improvement projects, detailing timelines, costs, and compliance statuses. Each row represents a unique project and includes information on project phases, permit statuses, and expenses incurred.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each project."
          },
          "project_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the home improvement project.",
            "pool": [
              "renovation",
              "upgrade",
              "remodel",
              "expansion",
              "restoration",
              "landscaping",
              "addition",
              "conversion",
              "repair",
              "maintenance",
              "improvement",
              "installation",
              "design",
              "transformation",
              "enhancement",
              "revamp",
              "modernization",
              "customization",
              "refurbishment",
              "makeover",
              "overhaul",
              "extension",
              "refinement",
              "revitalization",
              "beautification",
              "optimization",
              "redesign",
              "reconstruction",
              "fix",
              "update"
            ]
          },
          "start_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date when the project started."
          },
          "end_date": {
            "kind": "date",
            "after": "start_date",
            "withinDays": 90,
            "description": "The date when the project was completed."
          },
          "permit_obtained": {
            "kind": "bool",
            "trueRate": 0.7,
            "description": "Whether the necessary permits were obtained (true or false).",
            "nullable": true,
            "when": {
              "column": "compliance_status",
              "in": [
                "non-compliant"
              ]
            }
          },
          "total_cost": {
            "kind": "decimal",
            "min": 500,
            "max": 20000,
            "scale": 2,
            "description": "The total cost of the project in dollars.",
            "distribution": "long-tail"
          },
          "inspection_count": {
            "kind": "int",
            "min": 1,
            "max": 10,
            "description": "The number of inspections conducted during the project.",
            "nullable": true,
            "when": {
              "column": "compliance_status",
              "in": [
                "non-compliant"
              ]
            },
            "distribution": "long-tail"
          },
          "compliance_status": {
            "kind": "enum",
            "values": [
              "compliant",
              "non-compliant"
            ],
            "weights": [
              0.9,
              0.1
            ],
            "description": "The compliance status of the project with local regulations."
          },
          "homeowner_interaction": {
            "kind": "words",
            "min": 10,
            "max": 200,
            "description": "Notes on interactions between the homeowner and the advisory service.",
            "nullable": true
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "timestamped",
      "monetary",
      "free-text"
    ],
    "analysisQuestions": [
      "What is the average duration of home improvement projects?",
      "How often do projects experience delays due to permit issues?",
      "Which materials contribute most to project costs?",
      "Are there specific times of year when projects are more likely to be non-compliant?",
      "What trends can be seen in homeowner interactions with the advisory service?"
    ],
    "suggestedQueries": [
      {
        "title": "Retrieve all projects and their costs",
        "sql": "SELECT project_name, total_cost FROM home_improvement_projects;",
        "dialect": "postgres"
      },
      {
        "title": "Count projects by compliance status",
        "sql": "SELECT compliance_status, COUNT(*) FROM home_improvement_projects GROUP BY compliance_status;",
        "dialect": "postgres"
      },
      {
        "title": "Find average project duration",
        "sql": "SELECT AVG(end_date - start_date) AS average_duration FROM home_improvement_projects;",
        "dialect": "postgres"
      },
      {
        "title": "Inspect projects with multiple inspections",
        "sql": "SELECT project_name, inspection_count FROM home_improvement_projects WHERE inspection_count > 5;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "City Planning Departments",
        "body": "City planning departments can utilize this dataset to analyze trends in home improvement projects across different neighborhoods. By understanding project timelines and compliance rates, they can improve their permit processing and inspection scheduling, ultimately fostering a more efficient home improvement environment."
      },
      {
        "title": "Home Improvement Consultants",
        "body": "Home improvement consultants can leverage this dataset to provide insights to homeowners regarding project costs and timelines. By analyzing past projects, they can offer recommendations on materials and potential challenges, ensuring homeowners are better prepared for their improvement endeavors."
      },
      {
        "title": "Policy Makers",
        "body": "Policy makers can use the insights derived from this dataset to shape regulations and policies surrounding home improvement projects. Understanding compliance rates and common bottlenecks can help in drafting more effective policies that facilitate smoother project execution while ensuring safety and adherence to regulations."
      }
    ]
  },
  "counts": {
    "home_improvement_projects": 500
  },
  "stats": {
    "home_improvement_projects": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "project_name": {
          "nulls": 0,
          "distinct": 349
        },
        "start_date": {
          "nulls": 0,
          "distinct": 427,
          "min": "2020-01-03",
          "max": "2023-12-29"
        },
        "end_date": {
          "nulls": 0,
          "distinct": 427,
          "min": "2020-01-21",
          "max": "2024-03-06"
        },
        "permit_obtained": {
          "nulls": 447,
          "distinct": 2,
          "min": "false",
          "max": "true"
        },
        "total_cost": {
          "nulls": 0,
          "distinct": 500,
          "min": 500,
          "max": 19967.06
        },
        "inspection_count": {
          "nulls": 447,
          "distinct": 9,
          "min": 1,
          "max": 9
        },
        "compliance_status": {
          "nulls": 0,
          "distinct": 2,
          "min": "compliant",
          "max": "non-compliant"
        },
        "homeowner_interaction": {
          "nulls": 55,
          "distinct": 445
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/home_improvement_projects.csv",
      "format": "csv",
      "table": "home_improvement_projects",
      "key": "datasets/ai-powered-interactive-home-improvement-advisor/v4/csv/home_improvement_projects.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-interactive-home-improvement-advisor/v4/csv/home_improvement_projects.csv",
      "bytes": 342547,
      "sha256": "dbe4e14dac5b52a8c088b8837b167081ab57b6ce169fa56a0e13c6ec2f33c045",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "ai-powered-interactive-home-improvement-advisor.json",
      "format": "json",
      "table": null,
      "key": "datasets/ai-powered-interactive-home-improvement-advisor/v4/ai-powered-interactive-home-improvement-advisor.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-interactive-home-improvement-advisor/v4/ai-powered-interactive-home-improvement-advisor.json",
      "bytes": 461587,
      "sha256": "aa69c4eda41d20557024e2566fb8f67c383e4eef97ce727d31acad061c2bb86c",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/ai-powered-interactive-home-improvement-advisor/v4/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-interactive-home-improvement-advisor/v4/sql/postgres.sql",
      "bytes": 359574,
      "sha256": "daf243224ff26170791f4ab64472a9f4d18e1837c9527a93585edf3c5cfdc6ae",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/ai-powered-interactive-home-improvement-advisor/v4/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-interactive-home-improvement-advisor/v4/sql/mysql.sql",
      "bytes": 359263,
      "sha256": "ffdbdf9d207d9126a3c39e0ee48e12dec2c0f5bb41c03272c90cfccbace4a2f3",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/ai-powered-interactive-home-improvement-advisor/v4/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-interactive-home-improvement-advisor/v4/sql/mssql.sql",
      "bytes": 361799,
      "sha256": "101c3b5f4d0f108dca4f2d170d6f81682fdcc1638dbfa635b51c5ec9801266e7",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/ai-powered-interactive-home-improvement-advisor/v4/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-interactive-home-improvement-advisor/v4/sql/sqlite.sql",
      "bytes": 359224,
      "sha256": "04dd16e2c66377954c9e95f3a9952e9e4854f06881fc58d7455cecd7a64012aa",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/ai-powered-interactive-home-improvement-advisor/v4/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-interactive-home-improvement-advisor/v4/prisma/seed.ts",
      "bytes": 429410,
      "sha256": "9e1b3bc0c078803b46783cb102cf07726df762cf7cea7336b149c1c06880d470",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/ai-powered-interactive-home-improvement-advisor/v4/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-interactive-home-improvement-advisor/v4/django/fixtures.json",
      "bytes": 492115,
      "sha256": "9af9b944e3e65b26a0e33becd76765fc3e67a5c54e81e3dd512d140c61080b63",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788765821510,
  "updatedAt": 1788797915156
}
