{
  "format": "dataset-manifest/1",
  "slug": "city-growth-analytics",
  "version": 1,
  "seed": "city-growth-analytics:1",
  "spec": {
    "format": "dataset/1",
    "slug": "city-growth-analytics",
    "name": "City Growth Analytics",
    "tagline": "Urban development projects, budgets, and community feedback from various cities influencing community infrastructure.",
    "description": "Urban development initiatives shape the landscape and infrastructure of communities, influencing the quality of life for residents. This dataset revolves around projects like zoning changes, park developments, public transit expansions, and affordable housing initiatives. Each project captures various metrics, including budget allocations, timelines, and community engagement scores. While larger cities often see a concentration of redevelopment efforts, emerging neighborhoods frequently showcase unique projects with smaller budgets and community-driven aims, creating distinct patterns in planning activity. The tables are designed to allow for an in-depth analysis of how different urban planning projects are managed and their outcomes. This synthetic dataset will enable users to explore relationships between projects, their funding, community involvement, and timelines, helping to answer questions about urban growth and resource allocation.",
    "domain": "government",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "urban planning",
      "development projects",
      "community engagement",
      "zoning",
      "public transit",
      "affordable housing",
      "budget",
      "timelines"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "projects": {
        "description": "This table holds records of various urban development projects, linking to their respective budgets and community engagement scores.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each project."
          },
          "name": {
            "kind": "words",
            "min": 3,
            "max": 50,
            "description": "The name of the urban development project."
          },
          "start_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The start date of the project.",
            "nullable": true,
            "when": {
              "column": "project_type",
              "in": [
                "zoning change",
                "park development",
                "public transit",
                "affordable housing"
              ]
            },
            "trend": "growing"
          },
          "end_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2025-12-31",
            "description": "The expected end date of the project.",
            "nullable": true,
            "when": {
              "column": "project_type",
              "in": [
                "zoning change",
                "park development",
                "public transit",
                "affordable housing"
              ]
            },
            "trend": "growing"
          },
          "project_type": {
            "kind": "enum",
            "values": [
              "zoning change",
              "park development",
              "public transit",
              "affordable housing"
            ],
            "description": "The type of urban development project."
          },
          "community_engagement_score": {
            "kind": "int",
            "min": 1,
            "max": 10,
            "description": "Score indicating community engagement in the project.",
            "nullable": true
          },
          "budget_id": {
            "kind": "fk",
            "ref": "budgets.id",
            "description": "Foreign key linking to the budget table.",
            "nullable": true
          }
        }
      },
      "budgets": {
        "description": "This table contains budget allocations for various projects, detailing how funds are distributed across different initiatives.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each budget."
          },
          "amount": {
            "kind": "decimal",
            "min": 1000,
            "max": 10000000,
            "scale": 2,
            "description": "Total budget allocated for the project."
          },
          "source": {
            "kind": "words",
            "min": 3,
            "max": 50,
            "description": "Source of funding for the budget."
          }
        }
      },
      "community_feedback": {
        "description": "This table captures feedback from community members on various projects, linking to the respective project IDs.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each feedback entry."
          },
          "project_id": {
            "kind": "fk",
            "ref": "projects.id",
            "description": "Foreign key linking to the project table."
          },
          "feedback_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date on which feedback was given.",
            "trend": "seasonal"
          },
          "comments": {
            "kind": "paragraph",
            "min": 10,
            "max": 500,
            "description": "Comments provided by community members.",
            "nullable": true
          },
          "satisfaction_score": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "description": "Satisfaction score from community feedback.",
            "nullable": true
          }
        }
      },
      "project_updates": {
        "description": "This table tracks updates and changes made to projects over time, linking back to the projects table.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each project update."
          },
          "project_id": {
            "kind": "fk",
            "ref": "projects.id",
            "description": "Foreign key linking to the project table."
          },
          "update_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2025-12-31",
            "description": "The date of the project update."
          },
          "description": {
            "kind": "paragraph",
            "min": 10,
            "max": 500,
            "description": "Description of the changes or updates made.",
            "nullable": true
          }
        }
      },
      "cities": {
        "description": "This table contains information about the cities where projects are taking place, linking to the projects table.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each city."
          },
          "name": {
            "kind": "words",
            "min": 3,
            "max": 50,
            "description": "The name of the city."
          },
          "population": {
            "kind": "int",
            "min": 1000,
            "max": 10000000,
            "description": "Population of the city."
          },
          "area": {
            "kind": "decimal",
            "min": 1,
            "max": 5000,
            "scale": 2,
            "description": "Area of the city in square kilometers."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What types of projects are most common in different cities?",
      "How does community engagement score correlate with project success?",
      "What is the average budget allocated for various types of projects?",
      "Which cities have the highest satisfaction scores from community feedback?",
      "What trends can be observed in project update frequencies over time?"
    ],
    "suggestedQueries": [
      {
        "title": "List all projects in a city",
        "sql": "SELECT * FROM projects JOIN cities ON projects.city_id = cities.id WHERE cities.name = 'Sample City';",
        "dialect": "postgres"
      },
      {
        "title": "Calculate average budget by project type",
        "sql": "SELECT project_type, AVG(amount) FROM projects JOIN budgets ON projects.budget_id = budgets.id GROUP BY project_type;",
        "dialect": "postgres"
      },
      {
        "title": "Find community feedback for a specific project",
        "sql": "SELECT comments, satisfaction_score FROM community_feedback WHERE project_id = 1;",
        "dialect": "postgres"
      },
      {
        "title": "Track project updates over time",
        "sql": "SELECT update_date, description FROM project_updates WHERE project_id = 1 ORDER BY update_date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Urban Planner Analysis",
        "body": "Urban planners can utilize this dataset to analyze the trends in urban development projects across different cities. By examining the community engagement scores and budgets, they can assess how effectively projects meet the needs of residents and identify areas for improvement."
      },
      {
        "title": "Community Engagement Research",
        "body": "Researchers studying community engagement in urban planning can leverage this dataset to evaluate feedback mechanisms and their impact on project outcomes. By analyzing satisfaction scores alongside project types, they can draw insights on how community involvement influences urban development."
      },
      {
        "title": "Budget Allocation Review",
        "body": "City officials and budget analysts can use this dataset to review budget allocations for various urban development projects. They can determine if funds are being effectively distributed based on community needs and project types, helping to inform future planning and funding decisions."
      }
    ]
  },
  "counts": {
    "budgets": 150,
    "cities": 50,
    "projects": 150,
    "community_feedback": 300,
    "project_updates": 200
  },
  "stats": {
    "projects": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "name": {
          "nulls": 0,
          "distinct": 150
        },
        "start_date": {
          "nulls": 0,
          "distinct": 139,
          "min": "2020-01-01",
          "max": "2023-12-25"
        },
        "end_date": {
          "nulls": 0,
          "distinct": 146,
          "min": "2020-02-08",
          "max": "2025-12-27"
        },
        "project_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "affordable housing",
          "max": "zoning change"
        },
        "community_engagement_score": {
          "nulls": 15,
          "distinct": 10,
          "min": 1,
          "max": 10
        },
        "budget_id": {
          "nulls": 20,
          "distinct": 89,
          "min": 1,
          "max": 150
        }
      }
    },
    "budgets": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "amount": {
          "nulls": 0,
          "distinct": 150,
          "min": 292480.48,
          "max": 9946425.36
        },
        "source": {
          "nulls": 0,
          "distinct": 150
        }
      }
    },
    "community_feedback": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "project_id": {
          "nulls": 0,
          "distinct": 125,
          "min": 1,
          "max": 150
        },
        "feedback_date": {
          "nulls": 0,
          "distinct": 274,
          "min": "2020-01-04",
          "max": "2023-12-28"
        },
        "comments": {
          "nulls": 29,
          "distinct": 271
        },
        "satisfaction_score": {
          "nulls": 42,
          "distinct": 5,
          "min": 1,
          "max": 5
        }
      }
    },
    "project_updates": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "project_id": {
          "nulls": 0,
          "distinct": 113,
          "min": 1,
          "max": 150
        },
        "update_date": {
          "nulls": 0,
          "distinct": 195,
          "min": "2020-01-21",
          "max": "2025-12-30"
        },
        "description": {
          "nulls": 11,
          "distinct": 189
        }
      }
    },
    "cities": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "name": {
          "nulls": 0,
          "distinct": 50
        },
        "population": {
          "nulls": 0,
          "distinct": 50,
          "min": 329895,
          "max": 9946065
        },
        "area": {
          "nulls": 0,
          "distinct": 50,
          "min": 16.64,
          "max": 4961.38
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/budgets.csv",
      "format": "csv",
      "table": "budgets",
      "key": "datasets/city-growth-analytics/v1/csv/budgets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/city-growth-analytics/v1/csv/budgets.csv",
      "bytes": 28388,
      "sha256": "f85ee61f36d9efe08b96cd8d6340ddc0fe07b98857ac71b9d81f8b5e0564e844",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/cities.csv",
      "format": "csv",
      "table": "cities",
      "key": "datasets/city-growth-analytics/v1/csv/cities.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/city-growth-analytics/v1/csv/cities.csv",
      "bytes": 8839,
      "sha256": "339a4f6ab76a702663a1a3c1146b257427f7a78e9fab73df83d88bffcf8f5275",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/projects.csv",
      "format": "csv",
      "table": "projects",
      "key": "datasets/city-growth-analytics/v1/csv/projects.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/city-growth-analytics/v1/csv/projects.csv",
      "bytes": 33665,
      "sha256": "77401a7c6ae773a9389b551f09fe46af38d2cf44d951d82a234c2f4b26aed6e1",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/community_feedback.csv",
      "format": "csv",
      "table": "community_feedback",
      "key": "datasets/city-growth-analytics/v1/csv/community_feedback.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/city-growth-analytics/v1/csv/community_feedback.csv",
      "bytes": 52625,
      "sha256": "c7e9ab63cd64922fa5bd154ffdff5627c024b282254b0b22a18b21ac8151123f",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/project_updates.csv",
      "format": "csv",
      "table": "project_updates",
      "key": "datasets/city-growth-analytics/v1/csv/project_updates.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/city-growth-analytics/v1/csv/project_updates.csv",
      "bytes": 35976,
      "sha256": "d12e5647a2d83ce839fede15b884247ccd50e9bbde57eafd570d3977d29d0cc6",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "city-growth-analytics.json",
      "format": "json",
      "table": null,
      "key": "datasets/city-growth-analytics/v1/city-growth-analytics.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/city-growth-analytics/v1/city-growth-analytics.json",
      "bytes": 252104,
      "sha256": "3a9e36c37136100a7e323306bceb259fbbbeee4c63d5203c778c767824d3c396",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/city-growth-analytics/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/city-growth-analytics/v1/sql/postgres.sql",
      "bytes": 173864,
      "sha256": "c6bce94f28d25fa6f838d40c51cd5b6b8abc8431719680b2643a1dac5310ac74",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/city-growth-analytics/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/city-growth-analytics/v1/sql/mysql.sql",
      "bytes": 173281,
      "sha256": "b60cc8ff4f2a7e8d9b88ee84d142d3ccbc46e9adff38379d2d70b39eb222260c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/city-growth-analytics/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/city-growth-analytics/v1/sql/mssql.sql",
      "bytes": 175396,
      "sha256": "56c3e3b7f3d6cb44a2ab2aeb9e86d4242327c40cddcefa8c0f681ed450fded83",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/city-growth-analytics/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/city-growth-analytics/v1/sql/sqlite.sql",
      "bytes": 173112,
      "sha256": "e719782756ca865e3476da043682d75dc4401a7e292e7572268e2c8b0ec2f4cd",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/city-growth-analytics/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/city-growth-analytics/v1/prisma/seed.ts",
      "bytes": 224854,
      "sha256": "d004afb0153ed403f4f76bc4d4539aee571cbbfc545f9987cca2da9d56085f27",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/city-growth-analytics/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/city-growth-analytics/v1/django/fixtures.json",
      "bytes": 291764,
      "sha256": "e3ddbee1b0be185f33b639ea0cbaecaa9cb4809df46d6755887b63647d2b86ff",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766074475,
  "updatedAt": 1788766074475
}
