{
  "format": "dataset-manifest/1",
  "slug": "urban-development-insights",
  "version": 3,
  "seed": "urban-development-insights:1",
  "spec": {
    "format": "dataset/1",
    "slug": "urban-development-insights",
    "name": "Urban Development Insights",
    "tagline": "Data-driven insights for effective urban planning and development.",
    "description": "City planning involves orchestrating growth and development within urban areas, balancing the needs of residents, infrastructure, and the environment. This dataset captures essential information regarding land parcels, their ownership, zoning variances, transit lines connecting neighborhoods, permits issued, violations reported, and natural hazards affecting different regions. The tables are interrelated to provide a holistic view of urban development. For instance, land parcels can have associated zoning categories, while permits may be linked to specific parcels and monitored for compliance. By analyzing this data, city planners can answer critical questions about development trends, community engagement, and the effectiveness of zoning regulations. The dataset is synthetic, designed to help developers practice SQL queries, ORM seeding, and data analysis techniques relevant to urban development.",
    "domain": "government",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "urban planning",
      "zoning",
      "land parcels",
      "permits",
      "transit lines",
      "violations",
      "hazards",
      "development trends"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "land_parcels": {
        "description": "This table holds information about individual land parcels, including their location, size, and ownership. Each parcel may be linked to zoning categories and associated permits.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each land parcel."
          },
          "owner_id": {
            "kind": "fk",
            "ref": "owners.id",
            "description": "References the owner of the land parcel.",
            "nullable": true,
            "when": {
              "column": "zoning_category",
              "in": [
                "Residential",
                "Commercial"
              ]
            }
          },
          "size": {
            "kind": "decimal",
            "min": 100,
            "max": 50000,
            "scale": 2,
            "description": "Size of the land parcel in square meters.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "location": {
            "kind": "words",
            "min": 2,
            "max": 4,
            "description": "Descriptive location of the parcel, including street name and neighborhood.",
            "nullable": true,
            "pool": [
              "Main",
              "Oak",
              "Pine",
              "Elm",
              "Maple",
              "1st",
              "2nd",
              "3rd",
              "North",
              "South",
              "East",
              "West",
              "Downtown",
              "Uptown",
              "River",
              "Park",
              "Hill",
              "Square",
              "Crescent",
              "Boulevard",
              "Avenue",
              "Street",
              "Lane",
              "Drive",
              "Terrace",
              "Circle",
              "Place",
              "View",
              "Heights",
              "Point",
              "District",
              "Neighborhood",
              "Community",
              "Zone",
              "Sector",
              "Block",
              "Region",
              "Area",
              "Suburb",
              "Village",
              "Town",
              "City",
              "County",
              "State",
              "Metro"
            ]
          },
          "zoning_category": {
            "kind": "enum",
            "values": [
              "Residential",
              "Commercial",
              "Industrial",
              "Mixed-use"
            ],
            "description": "Zoning category assigned to the land parcel.",
            "weights": [
              6,
              2,
              1,
              1
            ]
          }
        }
      },
      "owners": {
        "description": "This table contains information about the owners of land parcels, including their names and contact information.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each owner."
          },
          "full_name": {
            "kind": "fullName",
            "description": "Full name of the land parcel owner."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "Email address of the owner."
          },
          "phone": {
            "kind": "phone",
            "description": "Contact phone number of the owner."
          }
        }
      },
      "zoning_variances": {
        "description": "This table tracks requests for zoning variances, including the rationale for the request and its approval status.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each zoning variance request."
          },
          "land_parcel_id": {
            "kind": "fk",
            "ref": "land_parcels.id",
            "description": "References the land parcel seeking a variance."
          },
          "reason": {
            "kind": "sentence",
            "min": 10,
            "max": 200,
            "description": "Reason for the zoning variance request.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "Approved",
                "Denied"
              ]
            }
          },
          "status": {
            "kind": "enum",
            "values": [
              "Pending",
              "Approved",
              "Denied"
            ],
            "description": "Current status of the variance request.",
            "weights": [
              5,
              3,
              2
            ]
          }
        }
      },
      "transit_lines": {
        "description": "This table provides details about transit lines connecting different neighborhoods, including their type and coverage area.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each transit line."
          },
          "line_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Name of the transit line.",
            "pool": [
              "Red",
              "Blue",
              "Green",
              "Yellow",
              "Orange",
              "Silver",
              "Gold",
              "Express",
              "Local",
              "Rapid",
              "Link",
              "Connector",
              "Loop",
              "Branch",
              "Route",
              "Service",
              "Line",
              "Track",
              "Way",
              "Path",
              "Corridor",
              "Network",
              "Transit",
              "Expressway",
              "Highway",
              "Rail",
              "Bus",
              "Tram",
              "Trolley",
              "Metro",
              "Subway",
              "Commuter",
              "Light",
              "Heavy",
              "Freight",
              "Intercity",
              "Regional",
              "Urban",
              "Rural",
              "Main",
              "Secondary"
            ]
          },
          "type": {
            "kind": "enum",
            "values": [
              "Bus",
              "Train",
              "Tram"
            ],
            "description": "Type of the transit line.",
            "weights": [
              7,
              2,
              1
            ]
          },
          "coverage_area": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Description of the area served by this transit line.",
            "nullable": true,
            "when": {
              "column": "type",
              "in": [
                "Bus",
                "Train"
              ]
            },
            "pool": [
              "downtown",
              "suburban",
              "industrial",
              "commercial",
              "residential",
              "rural",
              "historic",
              "urban",
              "waterfront",
              "park",
              "city-center",
              "business-district",
              "educational",
              "transport-hub",
              "cultural",
              "medical",
              "recreational",
              "tourist",
              "mixed-use",
              "green-space",
              "transit-oriented"
            ]
          }
        }
      },
      "permits": {
        "description": "This table records permits issued for development projects, including their type and associated land parcels.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each permit."
          },
          "land_parcel_id": {
            "kind": "fk",
            "ref": "land_parcels.id",
            "description": "References the land parcel for which the permit is issued."
          },
          "permit_type": {
            "kind": "enum",
            "values": [
              "Construction",
              "Renovation",
              "Demolition"
            ],
            "description": "Type of permit issued.",
            "weights": [
              4,
              3,
              2
            ]
          },
          "issue_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the permit was issued."
          },
          "expiration_date": {
            "kind": "date",
            "after": "issue_date",
            "withinDays": 365,
            "description": "Expiration date of the permit.",
            "nullable": true,
            "when": {
              "column": "permit_type",
              "in": [
                "Renovation",
                "Demolition"
              ]
            }
          }
        }
      },
      "violations": {
        "description": "This table tracks violations related to land use and permits, including their severity and the corresponding land parcel.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each violation."
          },
          "land_parcel_id": {
            "kind": "fk",
            "ref": "land_parcels.id",
            "description": "References the land parcel associated with the violation."
          },
          "description": {
            "kind": "sentence",
            "min": 10,
            "max": 200,
            "description": "Description of the violation.",
            "nullable": true,
            "when": {
              "column": "severity",
              "in": [
                "Moderate",
                "Severe"
              ]
            }
          },
          "severity": {
            "kind": "enum",
            "values": [
              "Minor",
              "Moderate",
              "Severe"
            ],
            "description": "Severity level of the violation.",
            "weights": [
              5,
              3,
              1
            ]
          },
          "report_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the violation was reported."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the most common zoning categories among land parcels?",
      "How many zoning variances have been approved in the last year?",
      "Which transit lines serve the highest number of land parcels?",
      "What types of violations are most frequently reported?",
      "How does the size of land parcels correlate with the types of permits issued?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Land Parcels and Owners",
        "sql": "SELECT lp.id, lp.location, o.full_name FROM land_parcels lp JOIN owners o ON lp.owner_id = o.id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Permits by Type",
        "sql": "SELECT permit_type, COUNT(*) FROM permits GROUP BY permit_type;",
        "dialect": "postgres"
      },
      {
        "title": "Zoning Variances Approval Rate",
        "sql": "SELECT status, COUNT(*) FROM zoning_variances GROUP BY status;",
        "dialect": "postgres"
      },
      {
        "title": "Violations Report Trend",
        "sql": "SELECT DATE(report_date) AS report_day, COUNT(*) FROM violations GROUP BY report_day ORDER BY report_day;",
        "dialect": "postgres"
      },
      {
        "title": "Average Size of Land Parcels by Zoning Category",
        "sql": "SELECT zoning_category, AVG(size) FROM land_parcels GROUP BY zoning_category;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Urban Planners Analyzing Trends",
        "body": "Urban planners can use this dataset to analyze zoning trends and understand how various land parcels are utilized across different neighborhoods. By examining the types of permits issued, they can identify areas experiencing growth and development."
      },
      {
        "title": "Regulatory Compliance Monitoring",
        "body": "Regulatory bodies can utilize the data on permits and violations to monitor compliance with city regulations. This allows them to enforce zoning laws effectively and address any issues quickly, thus maintaining order in urban development."
      },
      {
        "title": "Transit Planning and Optimization",
        "body": "Transit authorities can leverage the information about transit lines and their coverage areas to optimize public transport routes. Analyzing the connections between neighborhoods helps improve accessibility and reduce transit times for residents."
      },
      {
        "title": "Community Engagement and Feedback",
        "body": "Community organizers can engage residents by using insights from this dataset to initiate discussions around zoning variances and their implications. Understanding public sentiment about development projects encourages transparency and community involvement."
      }
    ]
  },
  "counts": {
    "owners": 200,
    "land_parcels": 300,
    "permits": 150,
    "transit_lines": 50,
    "violations": 80,
    "zoning_variances": 100
  },
  "stats": {
    "land_parcels": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "owner_id": {
          "nulls": 75,
          "distinct": 134,
          "min": 1,
          "max": 200
        },
        "size": {
          "nulls": 30,
          "distinct": 270,
          "min": 100.31,
          "max": 48934.6
        },
        "location": {
          "nulls": 27,
          "distinct": 272
        },
        "zoning_category": {
          "nulls": 0,
          "distinct": 4,
          "min": "Commercial",
          "max": "Residential"
        }
      }
    },
    "owners": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 197,
          "min": "Alice Ibrahim",
          "max": "Zoe Schneider"
        },
        "email": {
          "nulls": 0,
          "distinct": 200
        },
        "phone": {
          "nulls": 0,
          "distinct": 192
        }
      }
    },
    "zoning_variances": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "land_parcel_id": {
          "nulls": 0,
          "distinct": 86,
          "min": 1,
          "max": 297
        },
        "reason": {
          "nulls": 45,
          "distinct": 55
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "Approved",
          "max": "Pending"
        }
      }
    },
    "transit_lines": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "line_name": {
          "nulls": 0,
          "distinct": 46
        },
        "type": {
          "nulls": 0,
          "distinct": 3,
          "min": "Bus",
          "max": "Tram"
        },
        "coverage_area": {
          "nulls": 4,
          "distinct": 35
        }
      }
    },
    "permits": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "land_parcel_id": {
          "nulls": 0,
          "distinct": 129,
          "min": 3,
          "max": 299
        },
        "permit_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "Construction",
          "max": "Renovation"
        },
        "issue_date": {
          "nulls": 0,
          "distinct": 137,
          "min": "2020-01-08",
          "max": "2023-12-23"
        },
        "expiration_date": {
          "nulls": 56,
          "distinct": 91,
          "min": "2020-01-29",
          "max": "2024-09-11"
        }
      }
    },
    "violations": {
      "rows": 80,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 80,
          "min": 1,
          "max": 80
        },
        "land_parcel_id": {
          "nulls": 0,
          "distinct": 69,
          "min": 4,
          "max": 300
        },
        "description": {
          "nulls": 49,
          "distinct": 31
        },
        "severity": {
          "nulls": 0,
          "distinct": 3,
          "min": "Minor",
          "max": "Severe"
        },
        "report_date": {
          "nulls": 0,
          "distinct": 76,
          "min": "2020-01-07",
          "max": "2023-12-23"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/owners.csv",
      "format": "csv",
      "table": "owners",
      "key": "datasets/urban-development-insights/v3/csv/owners.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/csv/owners.csv",
      "bytes": 11376,
      "sha256": "3bc11268adcd438f794697826dd63e1ed1f06d70be5ce9298b8a9d470e75c948",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/land_parcels.csv",
      "format": "csv",
      "table": "land_parcels",
      "key": "datasets/urban-development-insights/v3/csv/land_parcels.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/csv/land_parcels.csv",
      "bytes": 13195,
      "sha256": "b6472fc2bc99d5497fc0a3ddc019b62d97b50bea341842357e74819cc1940358",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/permits.csv",
      "format": "csv",
      "table": "permits",
      "key": "datasets/urban-development-insights/v3/csv/permits.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/csv/permits.csv",
      "bytes": 5751,
      "sha256": "879c0f840196851eab7baa7544188ac7cf93017af26534090067f75110f15f98",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/transit_lines.csv",
      "format": "csv",
      "table": "transit_lines",
      "key": "datasets/urban-development-insights/v3/csv/transit_lines.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/csv/transit_lines.csv",
      "bytes": 1967,
      "sha256": "427bfd6dc2ba5400275ba7cf10f9659cfbf355055923559050d385e50f7d4d0f",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/violations.csv",
      "format": "csv",
      "table": "violations",
      "key": "datasets/urban-development-insights/v3/csv/violations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/csv/violations.csv",
      "bytes": 3884,
      "sha256": "b29469072a2b71db5dd12d218c56640cacefaefc0d13eecb12374129b6351fd9",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/zoning_variances.csv",
      "format": "csv",
      "table": "zoning_variances",
      "key": "datasets/urban-development-insights/v3/csv/zoning_variances.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/csv/zoning_variances.csv",
      "bytes": 4675,
      "sha256": "698641a5fdff8ff385cf378308079d03a9cf698ba5b40624f300868dfe40c4a5",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "urban-development-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/urban-development-insights/v3/urban-development-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/urban-development-insights.json",
      "bytes": 131159,
      "sha256": "671b949ba1e01e348e59843239003fc06675bc2c14dda2666206635891bd66a3",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/urban-development-insights/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/sql/postgres.sql",
      "bytes": 57605,
      "sha256": "a69e6a2c844fda22e260eb966dff724e541054cb9e0dbcc76d89d09bc13815c3",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/urban-development-insights/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/sql/mysql.sql",
      "bytes": 56918,
      "sha256": "5a01507f29fade9c1cb9d5b6268a1cbd507bc55f3bbd7b18e063a1fd6338fc89",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/urban-development-insights/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/sql/mssql.sql",
      "bytes": 59404,
      "sha256": "2ca69782cf1a7fd5e5f950fa1195faa73a1bd6aafb5014e03526bb19cced2349",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/urban-development-insights/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/sql/sqlite.sql",
      "bytes": 56658,
      "sha256": "2ce54e1d9d8699b1bb6fb9882b4f8bb1bff728f2cec510bf3b46c11346faf487",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/urban-development-insights/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/prisma/seed.ts",
      "bytes": 103829,
      "sha256": "48c7a45c7a8dde8c91a139c7d49b25b7d473d3d54b9ac5923eee3b1604ca91d1",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/urban-development-insights/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/urban-development-insights/v3/django/fixtures.json",
      "bytes": 169824,
      "sha256": "a4c1833574e6cb4b1cf53279ad49326d64552c57da867d5580f9ad52629f5ae1",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768828287,
  "updatedAt": 1788798205356
}
