{
  "format": "dataset-manifest/1",
  "slug": "property-valuation-database",
  "version": 2,
  "seed": "property-valuation-database:1",
  "spec": {
    "format": "dataset/1",
    "slug": "property-valuation-database",
    "name": "Real Estate Valuation Insights",
    "tagline": "Residential and commercial property valuations, comparable sales, and zoning regulations from government assessments.",
    "description": "Government agencies assess land parcels to determine their market value and ensure compliance with zoning regulations. This process involves evaluating properties, reviewing comparable sales, and handling valuation appeals. Each valuation is influenced by various factors, including the property's characteristics, its location, and the prevailing zoning laws. Such evaluations are critical in guiding decisions related to permits, tax assessments, and the provision of utilities connected to each property. As a result, this dataset provides a comprehensive view of how different properties are valued and the regulatory context surrounding them.\n\nThe tables in this dataset interconnect to provide a holistic view of property valuation. The 'properties' table catalogs individual land parcels, detailing their unique attributes such as size, type, and location. Each property links to the 'valuations' table, where specific appraised values are recorded, indicating the assessed worth based on various criteria. The 'comparable_sales' table includes records of recent sales of similar properties, which are essential for setting benchmarks in valuations. Meanwhile, the 'valuation_appeals' table captures instances where property owners contest their valuations, shedding light on community responses to government assessments. Lastly, the 'zoning_regulations' table outlines the specific zoning laws applicable to each property, which can significantly impact its value.\n\nAnalyzing this dataset allows developers to explore key questions such as how different property attributes affect market value, what trends exist in property sales, and how zoning regulations influence pricing. It can also help identify patterns in appeals against valuations, providing insights into community perceptions of property assessments. This synthetic dataset offers rich, practice-oriented opportunities for data analysis, visualization, and real-world applications in property management and government operations.",
    "domain": "government",
    "shape": "slowly-changing",
    "useCases": [
      "etl-pipelines",
      "teaching"
    ],
    "keywords": [
      "real estate",
      "valuation",
      "government",
      "properties",
      "zoning",
      "sales",
      "appeals"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "properties": {
        "description": "This table holds details about individual properties, including their attributes like size and location, which are essential for valuation.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each property."
          },
          "address": {
            "kind": "words",
            "max": 100,
            "description": "Full address of the property.",
            "nullable": true
          },
          "property_type": {
            "kind": "enum",
            "values": [
              "residential",
              "commercial",
              "industrial"
            ],
            "description": "Type of the property, indicating its primary use.",
            "weights": [
              7,
              2,
              1
            ]
          },
          "size_sq_ft": {
            "kind": "int",
            "min": 500,
            "max": 20000,
            "description": "Size of the property in square feet.",
            "nullable": true
          },
          "zone": {
            "kind": "words",
            "max": 3,
            "description": "Zoning designation for the property.",
            "nullable": true,
            "pool": [
              "residential",
              "commercial",
              "industrial",
              "mixed-use",
              "agricultural",
              "recreational",
              "institutional",
              "transitional",
              "historic",
              "overlay",
              "planned",
              "urban",
              "suburban",
              "rural",
              "conservation",
              "special",
              "development",
              "transportation",
              "downtown",
              "business",
              "neighborhood"
            ],
            "min": 1
          }
        }
      },
      "valuations": {
        "description": "This table records the market valuations for properties, including assessment dates and values, linking directly to the properties table.",
        "rows": {
          "per": "properties",
          "via": "property_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each valuation record."
          },
          "property_id": {
            "kind": "fk",
            "ref": "properties.id",
            "description": "Foreign key linking to the properties table."
          },
          "market_value": {
            "kind": "decimal",
            "min": 50000,
            "max": 5000000,
            "scale": 2,
            "description": "Market value of the property at the time of valuation.",
            "distribution": "long-tail"
          },
          "assessment_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the valuation was conducted.",
            "trend": "growing"
          }
        }
      },
      "comparable_sales": {
        "description": "This table captures data on recent sales of properties that are comparable to those in the valuations table, aiding in market assessment.",
        "rows": {
          "per": "properties",
          "via": "property_id",
          "min": 1,
          "max": 4,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each comparable sale record."
          },
          "property_id": {
            "kind": "fk",
            "ref": "properties.id",
            "description": "Foreign key linking to the properties table."
          },
          "sale_price": {
            "kind": "decimal",
            "min": 50000,
            "max": 5000000,
            "scale": 2,
            "description": "The sale price of the comparable property.",
            "distribution": "long-tail"
          },
          "sale_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date of the property sale.",
            "trend": "seasonal"
          }
        }
      },
      "valuation_appeals": {
        "description": "This table contains records of appeals made against property valuations, including details about the appeal process and outcomes.",
        "rows": {
          "per": "valuations",
          "via": "valuation_id",
          "min": 0,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each appeal record."
          },
          "valuation_id": {
            "kind": "fk",
            "ref": "valuations.id",
            "description": "Foreign key linking to the valuations table."
          },
          "appeal_reason": {
            "kind": "sentence",
            "description": "Reason provided for the appeal against the valuation.",
            "nullable": true,
            "when": {
              "column": "appeal_outcome",
              "in": [
                "reduced",
                "denied"
              ]
            }
          },
          "appeal_outcome": {
            "kind": "enum",
            "values": [
              "upheld",
              "reduced",
              "denied"
            ],
            "description": "Outcome of the valuation appeal.",
            "weights": [
              5,
              3,
              2
            ]
          },
          "outcome_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the appeal outcome was decided.",
            "nullable": true,
            "trend": "growing"
          }
        }
      },
      "zoning_regulations": {
        "description": "This table outlines the zoning regulations applicable to different properties, providing context for property valuations.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each zoning regulation."
          },
          "zone": {
            "kind": "words",
            "max": 3,
            "description": "Zoning designation.",
            "pool": [
              "residential",
              "commercial",
              "industrial",
              "mixed-use",
              "agricultural",
              "recreational",
              "institutional",
              "transitional",
              "historic",
              "overlay",
              "planned",
              "urban",
              "suburban",
              "rural",
              "conservation",
              "special",
              "development",
              "transportation",
              "downtown",
              "business",
              "neighborhood"
            ],
            "min": 1
          },
          "regulation_details": {
            "kind": "sentence",
            "max": 250,
            "description": "Details of the zoning regulations for the zone."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped"
    ],
    "analysisQuestions": [
      "How do property values vary across different zoning designations?",
      "What are the most common reasons for appealing property valuations?",
      "How do comparable sales impact the valuation of similar properties?",
      "What trends can be observed in property valuations over the past few years?",
      "What is the average time taken to resolve valuation appeals?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Properties and Valuations",
        "sql": "SELECT p.address, v.market_value FROM properties p JOIN valuations v ON p.id = v.property_id;",
        "dialect": "postgres"
      },
      {
        "title": "Aggregate Average Valuation by Property Type",
        "sql": "SELECT p.property_type, AVG(v.market_value) AS average_value FROM properties p JOIN valuations v ON p.id = v.property_id GROUP BY p.property_type;",
        "dialect": "postgres"
      },
      {
        "title": "Count Appeals by Outcome",
        "sql": "SELECT appeal_outcome, COUNT(*) AS appeal_count FROM valuation_appeals GROUP BY appeal_outcome;",
        "dialect": "postgres"
      },
      {
        "title": "Recent Sales Impact on Valuations",
        "sql": "SELECT v.market_value, cs.sale_price FROM valuations v JOIN comparable_sales cs ON v.property_id = cs.property_id WHERE cs.sale_date > '2022-01-01';",
        "dialect": "postgres"
      },
      {
        "title": "Zoning Regulations Effect on Valuations",
        "sql": "SELECT zr.zone, AVG(v.market_value) FROM zoning_regulations zr JOIN properties p ON zr.zone = p.zone JOIN valuations v ON p.id = v.property_id GROUP BY zr.zone;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Urban Planners",
        "body": "Urban planners can use this dataset to analyze property valuations across different zones in the city. By understanding how zoning regulations affect property values, they can make informed decisions about future developments and zoning adjustments."
      },
      {
        "title": "Real Estate Appraisers",
        "body": "Real estate appraisers can leverage the comparable sales data to assess property values more accurately. By analyzing recent sales of similar properties, appraisers can provide more precise valuations for clients and help streamline the buying and selling process."
      },
      {
        "title": "Government Officials",
        "body": "Government officials involved in property assessments can utilize this dataset to monitor trends in property valuations and appeals. This information can guide policy decisions regarding tax assessments and zoning laws, ensuring fair and equitable practices."
      },
      {
        "title": "Students and Educators",
        "body": "Students studying real estate management or urban planning can benefit from this dataset for practical learning exercises. Educators can create case studies based on the data, allowing students to engage with real-world scenarios and apply theoretical concepts in a practical context."
      }
    ]
  },
  "counts": {
    "properties": 300,
    "comparable_sales": 556,
    "valuations": 653,
    "valuation_appeals": 614,
    "zoning_regulations": 50
  },
  "stats": {
    "properties": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "address": {
          "nulls": 32,
          "distinct": 268
        },
        "property_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "commercial",
          "max": "residential"
        },
        "size_sq_ft": {
          "nulls": 27,
          "distinct": 273,
          "min": 535,
          "max": 19991
        },
        "zone": {
          "nulls": 39,
          "distinct": 190
        }
      }
    },
    "valuations": {
      "rows": 653,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 653,
          "min": 1,
          "max": 653
        },
        "property_id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "market_value": {
          "nulls": 0,
          "distinct": 653,
          "min": 50016.86,
          "max": 4999076.01
        },
        "assessment_date": {
          "nulls": 0,
          "distinct": 512,
          "min": "2020-01-05",
          "max": "2023-12-31"
        }
      }
    },
    "comparable_sales": {
      "rows": 556,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 556,
          "min": 1,
          "max": 556
        },
        "property_id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "sale_price": {
          "nulls": 0,
          "distinct": 556,
          "min": 50401.33,
          "max": 4991726.86
        },
        "sale_date": {
          "nulls": 0,
          "distinct": 448,
          "min": "2020-01-02",
          "max": "2023-12-31"
        }
      }
    },
    "valuation_appeals": {
      "rows": 614,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 614,
          "min": 1,
          "max": 614
        },
        "valuation_id": {
          "nulls": 0,
          "distinct": 339,
          "min": 3,
          "max": 652
        },
        "appeal_reason": {
          "nulls": 317,
          "distinct": 294
        },
        "appeal_outcome": {
          "nulls": 0,
          "distinct": 3,
          "min": "denied",
          "max": "upheld"
        },
        "outcome_date": {
          "nulls": 59,
          "distinct": 459,
          "min": "2020-01-09",
          "max": "2023-12-31"
        }
      }
    },
    "zoning_regulations": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "zone": {
          "nulls": 0,
          "distinct": 46
        },
        "regulation_details": {
          "nulls": 0,
          "distinct": 50
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/properties.csv",
      "format": "csv",
      "table": "properties",
      "key": "datasets/property-valuation-database/v2/csv/properties.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/property-valuation-database/v2/csv/properties.csv",
      "bytes": 100060,
      "sha256": "f52950617ed08125e555d0a2d205318b277a67147f01e94ea6fda24cb66434c1",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/comparable_sales.csv",
      "format": "csv",
      "table": "comparable_sales",
      "key": "datasets/property-valuation-database/v2/csv/comparable_sales.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/property-valuation-database/v2/csv/comparable_sales.csv",
      "bytes": 16663,
      "sha256": "02fa1273a6a041c21dc1aa0fa9a4bc5feeb061f80f10585761abff2f29a2eea1",
      "rows": 556,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/valuations.csv",
      "format": "csv",
      "table": "valuations",
      "key": "datasets/property-valuation-database/v2/csv/valuations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/property-valuation-database/v2/csv/valuations.csv",
      "bytes": 19589,
      "sha256": "d6cdd53875fc1b0a25a6243d84ee2e50df600de726932cb8098ddf8cd0afe118",
      "rows": 653,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/valuation_appeals.csv",
      "format": "csv",
      "table": "valuation_appeals",
      "key": "datasets/property-valuation-database/v2/csv/valuation_appeals.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/property-valuation-database/v2/csv/valuation_appeals.csv",
      "bytes": 33074,
      "sha256": "3e395143c6251b113c10fce7720ee18a539db9cd48ed9dda208757802df240c2",
      "rows": 614,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/zoning_regulations.csv",
      "format": "csv",
      "table": "zoning_regulations",
      "key": "datasets/property-valuation-database/v2/csv/zoning_regulations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/property-valuation-database/v2/csv/zoning_regulations.csv",
      "bytes": 4225,
      "sha256": "02a6025c919e9a84004defbe486c7175964f92f92b2728e812291f645079217a",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "property-valuation-database.json",
      "format": "json",
      "table": null,
      "key": "datasets/property-valuation-database/v2/property-valuation-database.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/property-valuation-database/v2/property-valuation-database.json",
      "bytes": 399826,
      "sha256": "ca909c27791203cfcfba8f71fda487ebf49c769e454910d99f4d3ae36a668295",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/property-valuation-database/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/property-valuation-database/v2/sql/postgres.sql",
      "bytes": 206400,
      "sha256": "d740e4cef8f6cbf9e9ba2bec2514f09d7ca387115aa1b88b620e90533db2238d",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/property-valuation-database/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/property-valuation-database/v2/sql/mysql.sql",
      "bytes": 205791,
      "sha256": "bf793be54ae7a0622e01bba1a2af68a69b4a8036327b0a0106afd893636ba218",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/property-valuation-database/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/property-valuation-database/v2/sql/mssql.sql",
      "bytes": 209785,
      "sha256": "90196a1ea9cb8c577fcaa8740a28e95f1539cadbae6a2f518a9f3491fd382e05",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/property-valuation-database/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/property-valuation-database/v2/sql/sqlite.sql",
      "bytes": 205600,
      "sha256": "fb79704f35f066691d7274183d62ad422ab756fcc44de9f4bbce222492cd6acd",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/property-valuation-database/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/property-valuation-database/v2/prisma/seed.ts",
      "bytes": 335808,
      "sha256": "1e756cbc5da11e540160c98f0d9b8c192e2a8482380234320322c0ddad89d915",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/property-valuation-database/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/property-valuation-database/v2/django/fixtures.json",
      "bytes": 503251,
      "sha256": "a7d1ef55d3631c7c2aec4d9a0c572744e3c04dd808958c5c8fa086f2d240d952",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767792448,
  "updatedAt": 1788785600386
}
