{
  "format": "dataset-manifest/1",
  "slug": "home-renovation-planner",
  "version": 2,
  "seed": "home-renovation-planner:1",
  "spec": {
    "format": "dataset/1",
    "slug": "home-renovation-planner",
    "name": "Renovation Trends",
    "tagline": "Home renovation projects, types, costs, timelines, and district data from government initiatives.",
    "description": "Government initiatives facilitate home renovations, impacting community development and housing quality. This dataset models renovation projects across various districts, capturing essential details such as costs, completion timelines, types of renovations, and geographical distribution. The dataset is structured into multiple tables, each providing a specific aspect of the renovation process. The renovation projects table includes data on individual projects, while the renovation types table categorizes the various renovations undertaken, including landscaping, painting, and more extensive upgrades like kitchen or bath renovations. Additionally, the cost estimates table captures financial data, and the completion timelines table tracks project durations. A separate table for districts provides geographical context, while the renovation statistics table aggregates data for insights into trends over time. This synthetic dataset can help users analyze renovation trends, assess the effectiveness of government initiatives, and explore community development dynamics.",
    "domain": "government",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "renovation",
      "government",
      "community development",
      "housing quality",
      "urban projects",
      "cost analysis",
      "project timelines"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "renovation_projects": {
        "description": "This table holds records of individual renovation projects, detailing their costs, types, and associated districts.",
        "rows": {
          "per": "districts",
          "via": "district_id",
          "min": 10,
          "max": 30,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each renovation project."
          },
          "district_id": {
            "kind": "fk",
            "ref": "districts.id",
            "description": "Identifier linking to the district where the project is located."
          },
          "project_type_id": {
            "kind": "fk",
            "ref": "renovation_types.id",
            "description": "Identifier linking to the type of renovation being undertaken."
          },
          "cost": {
            "kind": "decimal",
            "min": 500,
            "max": 50000,
            "scale": 2,
            "description": "Total estimated cost of the renovation project.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "start_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the renovation project begins."
          },
          "completion_date": {
            "kind": "date",
            "after": "start_date",
            "withinDays": 365,
            "description": "Expected completion date of the renovation project.",
            "nullable": true
          }
        }
      },
      "renovation_types": {
        "description": "This table categorizes the various types of renovations that can be performed.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each renovation type."
          },
          "type_name": {
            "kind": "words",
            "max": 3,
            "description": "Name of the renovation type, e.g., landscaping, kitchen remodel.",
            "pool": [
              "landscaping",
              "kitchen",
              "bathroom",
              "remodel",
              "addition",
              "basement",
              "deck",
              "roofing",
              "interior",
              "exterior",
              "painting",
              "flooring",
              "plumbing",
              "electrical",
              "tiling",
              "windows",
              "doors",
              "siding",
              "landscape",
              "fencing",
              "renovation",
              "upgrade",
              "modernization",
              "restoration",
              "expansion",
              "conversion",
              "design",
              "fixture",
              "installation",
              "removal",
              "maintenance"
            ],
            "min": 1
          },
          "description": {
            "kind": "sentence",
            "max": 100,
            "description": "Brief description of the renovation type.",
            "nullable": true
          }
        }
      },
      "districts": {
        "description": "This table contains information about the districts where renovation projects take place.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each district."
          },
          "district_name": {
            "kind": "words",
            "max": 2,
            "description": "Name of the district.",
            "pool": [
              "downtown",
              "uptown",
              "midtown",
              "suburbs",
              "riverside",
              "hillcrest",
              "northside",
              "southside",
              "eastside",
              "westside",
              "historic",
              "industrial",
              "commercial",
              "residential",
              "parkview",
              "lakefront",
              "woodland",
              "meadow",
              "valley",
              "ridge",
              "plaza",
              "square",
              "district",
              "neighborhood",
              "community",
              "zone",
              "area",
              "quarter",
              "section",
              "block",
              "locale"
            ],
            "min": 1
          },
          "urban_area": {
            "kind": "bool",
            "trueRate": 0.7,
            "description": "Indicates if the district is classified as an urban area."
          }
        }
      },
      "renovation_statistics": {
        "description": "This table aggregates renovation data by year and district, providing insights into trends.",
        "rows": {
          "per": "districts",
          "via": "district_id",
          "min": 3,
          "max": 8,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each statistics record."
          },
          "district_id": {
            "kind": "fk",
            "ref": "districts.id",
            "description": "Identifier linking to the district."
          },
          "year": {
            "kind": "int",
            "min": 2020,
            "max": 2023,
            "description": "Year of the recorded statistics."
          },
          "total_projects": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "description": "Total number of renovation projects in the district for the year.",
            "distribution": "long-tail"
          },
          "average_cost": {
            "kind": "decimal",
            "min": 500,
            "max": 50000,
            "scale": 2,
            "description": "Average cost of renovation projects for the year.",
            "distribution": "long-tail"
          }
        }
      },
      "cost_estimates": {
        "description": "This table provides detailed cost estimates for different types of renovations.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each cost estimate."
          },
          "project_type_id": {
            "kind": "fk",
            "ref": "renovation_types.id",
            "description": "Identifier linking to the renovation type."
          },
          "low_estimate": {
            "kind": "decimal",
            "min": 500,
            "max": 20000,
            "scale": 2,
            "description": "Lowest estimated cost for this type of renovation.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "high_estimate": {
            "kind": "decimal",
            "min": 1000,
            "max": 50000,
            "scale": 2,
            "description": "Highest estimated cost for this type of renovation.",
            "nullable": true,
            "distribution": "heavy-tail"
          }
        }
      },
      "completion_timelines": {
        "description": "This table tracks the timelines for different types of renovations, giving insights into project durations.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each timeline record."
          },
          "project_type_id": {
            "kind": "fk",
            "ref": "renovation_types.id",
            "description": "Identifier linking to the renovation type."
          },
          "average_duration": {
            "kind": "int",
            "min": 1,
            "max": 365,
            "description": "Average duration (in days) to complete this type of renovation.",
            "nullable": true,
            "distribution": "normal"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "monetary",
      "categorical",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What types of renovations are most frequently undertaken in urban districts?",
      "How does the average cost of renovations vary by project type?",
      "Which districts have the highest number of renovation projects each year?",
      "What trends can be observed in renovation project completion times over the years?",
      "How do renovation statistics impact community development initiatives?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Renovation Projects and Districts",
        "sql": "SELECT rp.id, rp.cost, d.district_name FROM renovation_projects rp JOIN districts d ON rp.district_id = d.id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Cost by Renovation Type",
        "sql": "SELECT rt.type_name, AVG(rp.cost) as average_cost FROM renovation_projects rp JOIN renovation_types rt ON rp.project_type_id = rt.id GROUP BY rt.type_name;",
        "dialect": "postgres"
      },
      {
        "title": "Total Projects by Year and District",
        "sql": "SELECT rs.year, d.district_name, SUM(rs.total_projects) as total_projects FROM renovation_statistics rs JOIN districts d ON rs.district_id = d.id GROUP BY rs.year, d.district_name;",
        "dialect": "postgres"
      },
      {
        "title": "Completion Times for Renovation Types",
        "sql": "SELECT rt.type_name, ct.average_duration FROM completion_timelines ct JOIN renovation_types rt ON ct.project_type_id = rt.id;",
        "dialect": "postgres"
      },
      {
        "title": "Cost Estimates for Renovation Types",
        "sql": "SELECT rt.type_name, ce.low_estimate, ce.high_estimate FROM cost_estimates ce JOIN renovation_types rt ON ce.project_type_id = rt.id;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Government Analysts",
        "body": "Government analysts can use this dataset to evaluate the effectiveness of renovation initiatives, identifying trends in project types and costs across various districts. This information is crucial for planning future initiatives and allocating resources effectively."
      },
      {
        "title": "Urban Planners",
        "body": "Urban planners can leverage the insights from this dataset to assess how renovation projects impact housing quality and community development. By analyzing trends and completion timelines, they can design better policies to enhance urban living standards."
      },
      {
        "title": "Researchers and Academics",
        "body": "Researchers studying the impact of government initiatives on housing can utilize this dataset to analyze renovation trends over time. They can examine how different types of renovations affect community dynamics and contribute to overall housing quality."
      },
      {
        "title": "Data Scientists",
        "body": "Data scientists can explore this dataset to build predictive models that forecast renovation costs and timelines based on historical data. This can help in developing better budgeting tools for future renovation projects."
      }
    ]
  },
  "counts": {
    "districts": 20,
    "renovation_statistics": 89,
    "renovation_types": 10,
    "completion_timelines": 30,
    "cost_estimates": 30,
    "renovation_projects": 319
  },
  "stats": {
    "renovation_projects": {
      "rows": 319,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 319,
          "min": 1,
          "max": 319
        },
        "district_id": {
          "nulls": 0,
          "distinct": 20,
          "min": 1,
          "max": 20
        },
        "project_type_id": {
          "nulls": 0,
          "distinct": 10,
          "min": 1,
          "max": 10
        },
        "cost": {
          "nulls": 29,
          "distinct": 290,
          "min": 500,
          "max": 49979.81
        },
        "start_date": {
          "nulls": 0,
          "distinct": 292,
          "min": "2020-01-01",
          "max": "2023-12-30"
        },
        "completion_date": {
          "nulls": 33,
          "distinct": 262,
          "min": "2020-02-20",
          "max": "2024-10-22"
        }
      }
    },
    "renovation_types": {
      "rows": 10,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 10,
          "min": 1,
          "max": 10
        },
        "type_name": {
          "nulls": 0,
          "distinct": 10
        },
        "description": {
          "nulls": 1,
          "distinct": 9
        }
      }
    },
    "districts": {
      "rows": 20,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 20,
          "min": 1,
          "max": 20
        },
        "district_name": {
          "nulls": 0,
          "distinct": 19
        },
        "urban_area": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        }
      }
    },
    "renovation_statistics": {
      "rows": 89,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 89,
          "min": 1,
          "max": 89
        },
        "district_id": {
          "nulls": 0,
          "distinct": 20,
          "min": 1,
          "max": 20
        },
        "year": {
          "nulls": 0,
          "distinct": 4,
          "min": 2020,
          "max": 2023
        },
        "total_projects": {
          "nulls": 0,
          "distinct": 53,
          "min": 1,
          "max": 96
        },
        "average_cost": {
          "nulls": 0,
          "distinct": 89,
          "min": 521.23,
          "max": 49522.42
        }
      }
    },
    "cost_estimates": {
      "rows": 30,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 30,
          "min": 1,
          "max": 30
        },
        "project_type_id": {
          "nulls": 0,
          "distinct": 10,
          "min": 1,
          "max": 10
        },
        "low_estimate": {
          "nulls": 1,
          "distinct": 29,
          "min": 531.09,
          "max": 19410.8
        },
        "high_estimate": {
          "nulls": 5,
          "distinct": 25,
          "min": 1000.3,
          "max": 49414.93
        }
      }
    },
    "completion_timelines": {
      "rows": 30,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 30,
          "min": 1,
          "max": 30
        },
        "project_type_id": {
          "nulls": 0,
          "distinct": 9,
          "min": 1,
          "max": 10
        },
        "average_duration": {
          "nulls": 2,
          "distinct": 26,
          "min": 72,
          "max": 262
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/districts.csv",
      "format": "csv",
      "table": "districts",
      "key": "datasets/home-renovation-planner/v2/csv/districts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/csv/districts.csv",
      "bytes": 429,
      "sha256": "d6b437c95fd5e11fda28c95723693ecd32e3ff2a880518e1c0cfe7d8c2aeb82a",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/renovation_statistics.csv",
      "format": "csv",
      "table": "renovation_statistics",
      "key": "datasets/home-renovation-planner/v2/csv/renovation_statistics.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/csv/renovation_statistics.csv",
      "bytes": 2053,
      "sha256": "90879d8d44a700b5fd31b0873581e1b6b347014258c33f1a9641b7373c35f554",
      "rows": 89,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/renovation_types.csv",
      "format": "csv",
      "table": "renovation_types",
      "key": "datasets/home-renovation-planner/v2/csv/renovation_types.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/csv/renovation_types.csv",
      "bytes": 750,
      "sha256": "99f878004c16867acd60c047fca96705da9ff0546532515eaccd9af1d178d0cf",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/completion_timelines.csv",
      "format": "csv",
      "table": "completion_timelines",
      "key": "datasets/home-renovation-planner/v2/csv/completion_timelines.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/csv/completion_timelines.csv",
      "bytes": 323,
      "sha256": "d414d975b8e5b72163e620dd6eb8c26c70cb71f382433ce1f71fd631f169e092",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/cost_estimates.csv",
      "format": "csv",
      "table": "cost_estimates",
      "key": "datasets/home-renovation-planner/v2/csv/cost_estimates.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/csv/cost_estimates.csv",
      "bytes": 670,
      "sha256": "be5fdf6b30a3419b7960d2f51badb67cd9e62352135919026b2d1e49dbbe58a9",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/renovation_projects.csv",
      "format": "csv",
      "table": "renovation_projects",
      "key": "datasets/home-renovation-planner/v2/csv/renovation_projects.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/csv/renovation_projects.csv",
      "bytes": 12223,
      "sha256": "f206afc98aede4274b0dfd1ee68165e5f356d07a9e54e9a856451bc7fe4b1b9e",
      "rows": 319,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "home-renovation-planner.json",
      "format": "json",
      "table": null,
      "key": "datasets/home-renovation-planner/v2/home-renovation-planner.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/home-renovation-planner.json",
      "bytes": 77599,
      "sha256": "397216c696e1e7b4d1b0c2cedade2b754d3011b3803006a28d1d063997b9db13",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/home-renovation-planner/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/sql/postgres.sql",
      "bytes": 26552,
      "sha256": "284ca74fb5839bb727038756693545b42d8d4ffcaf7b4d0e4c12400b94045ed8",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/home-renovation-planner/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/sql/mysql.sql",
      "bytes": 25716,
      "sha256": "0f3dac5a7acd6c44757e9904c3d9f818a03d9a7fbaf344c31c224bdb7c57d576",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/home-renovation-planner/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/sql/mssql.sql",
      "bytes": 26832,
      "sha256": "a545fb010657b63ada11ccb522a483b2d1b45e911c650d1ffa24d6f6b190a2e3",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/home-renovation-planner/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/sql/sqlite.sql",
      "bytes": 25415,
      "sha256": "dd028d865e5fcb550df68834f92b761d5d2a9584be332233c16b6944469c94d5",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/home-renovation-planner/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/prisma/seed.ts",
      "bytes": 60209,
      "sha256": "29b8053bece5bb3ea11bf1cb4dc1ae651678364a2d09e6d75187f80bf3112dcc",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/home-renovation-planner/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-renovation-planner/v2/django/fixtures.json",
      "bytes": 102717,
      "sha256": "26c8702ec80a737f2c1df1def189cf3b857cc82379e1748392310942ebe863a1",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788734377675,
  "updatedAt": 1788784297115
}
