{
  "format": "dataset-manifest/1",
  "slug": "crisis-logistics-insights",
  "version": 1,
  "seed": "crisis-logistics-insights:1",
  "spec": {
    "format": "dataset/1",
    "slug": "crisis-logistics-insights",
    "name": "Crisis Logistics Insights",
    "tagline": "Logs of disaster logistics, including tasks, funding sources, expenditures, and damage assessments.",
    "description": "Emergency response operations require a delicate balance of resource management and timely coordination. The Crisis Logistics Insights dataset models the complexities of disaster management logistics, focusing on essential elements such as task assignments, funding sources, expenditures, and damage assessments. Each table serves a specific purpose, allowing users to analyze relationships between funding and task efficiency, expenditures across various disaster types, and the assessment of damage. This synthetic dataset provides a robust framework for practicing queries related to logistics in crisis situations, offering a valuable resource for BI dashboards and analytics demonstrations. Users can explore how resource allocation shifts during different types of disasters, and how funding patterns emerge in response to urgent needs. With this dataset, analysts can derive insights on how to optimize logistics during critical times and improve future disaster management strategies.",
    "domain": "logistics",
    "shape": "star-schema",
    "useCases": [
      "bi-dashboards",
      "analytics-demo"
    ],
    "keywords": [
      "disaster management",
      "logistics",
      "funding",
      "resource allocation",
      "damage assessment",
      "task assignments"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "disasters": {
        "description": "This table records various disasters, including their type and impact level. Each row corresponds to a unique disaster event.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each disaster."
          },
          "disaster_type": {
            "kind": "enum",
            "values": [
              "earthquake",
              "flood",
              "hurricane",
              "wildfire",
              "tornado"
            ],
            "description": "Type of disaster experienced."
          },
          "impact_level": {
            "kind": "int",
            "min": 1,
            "max": 10,
            "description": "Level of impact on a scale of 1 to 10."
          },
          "date_occurred": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the disaster occurred.",
            "trend": "seasonal"
          }
        }
      },
      "funding_sources": {
        "description": "This table details the funding sources allocated for disaster management. Each source is linked to specific disaster events.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each funding source."
          },
          "disaster_id": {
            "kind": "fk",
            "ref": "disasters.id",
            "description": "Reference to the disaster that the funding supports."
          },
          "source_name": {
            "kind": "words",
            "min": 5,
            "max": 50,
            "description": "Name of the funding source.",
            "nullable": true
          },
          "amount": {
            "kind": "decimal",
            "min": 1000,
            "max": 5000000,
            "scale": 2,
            "description": "Amount of funding allocated.",
            "nullable": true
          },
          "date_allocated": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the funding was allocated.",
            "trend": "growing"
          }
        }
      },
      "tasks": {
        "description": "This table tracks the tasks assigned during each disaster response. Each task is linked to a disaster and shows its status.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each task."
          },
          "disaster_id": {
            "kind": "fk",
            "ref": "disasters.id",
            "description": "Reference to the disaster associated with the task."
          },
          "task_description": {
            "kind": "sentence",
            "min": 10,
            "max": 200,
            "description": "Description of the task assigned.",
            "nullable": true
          },
          "status": {
            "kind": "enum",
            "values": [
              "pending",
              "in_progress",
              "completed"
            ],
            "description": "Current status of the task."
          },
          "assigned_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the task was assigned.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "completed"
              ]
            }
          }
        }
      },
      "expenditures": {
        "description": "This table records the expenditures related to disaster management efforts. Each expenditure is linked to a specific disaster.",
        "rows": 250,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each expenditure."
          },
          "disaster_id": {
            "kind": "fk",
            "ref": "disasters.id",
            "description": "Reference to the disaster related to the expenditure."
          },
          "amount_spent": {
            "kind": "decimal",
            "min": 500,
            "max": 1000000,
            "scale": 2,
            "description": "Amount of money spent on the disaster response."
          },
          "date_spent": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the expenditure occurred.",
            "trend": "growing"
          }
        }
      },
      "damage_assessments": {
        "description": "This table contains assessments of damages caused by disasters. Each assessment is tied to a specific disaster event.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each damage assessment."
          },
          "disaster_id": {
            "kind": "fk",
            "ref": "disasters.id",
            "description": "Reference to the disaster being assessed."
          },
          "total_damage": {
            "kind": "decimal",
            "min": 1000,
            "max": 10000000,
            "scale": 2,
            "description": "Estimated total damage caused by the disaster.",
            "nullable": true
          },
          "assessment_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the damage assessment was conducted."
          }
        }
      },
      "resources": {
        "description": "This table lists resources deployed for disaster management, linked to specific tasks and disasters.",
        "rows": 350,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each resource."
          },
          "task_id": {
            "kind": "fk",
            "ref": "tasks.id",
            "description": "Reference to the task that the resource supports."
          },
          "resource_type": {
            "kind": "enum",
            "values": [
              "personnel",
              "equipment",
              "supplies"
            ],
            "description": "Type of resource deployed."
          },
          "quantity": {
            "kind": "int",
            "min": 1,
            "max": 1000,
            "description": "Number of resources deployed.",
            "nullable": true,
            "when": {
              "column": "resource_type",
              "in": [
                "personnel",
                "equipment"
              ]
            }
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "monetary",
      "nullable"
    ],
    "analysisQuestions": [
      "How does funding vary between different types of disasters?",
      "What is the average amount spent per task in disaster responses?",
      "Which tasks are most likely to be marked as completed?",
      "How does the total damage assessment correlate with funding sources?",
      "What trends can be observed in resource allocation over time?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Disasters and Funding Sources",
        "sql": "SELECT d.disaster_type, f.source_name, f.amount FROM disasters d JOIN funding_sources f ON d.id = f.disaster_id;",
        "dialect": "postgres"
      },
      {
        "title": "Aggregate Expenditures by Disaster Type",
        "sql": "SELECT d.disaster_type, SUM(e.amount_spent) AS total_expenditure FROM disasters d JOIN expenditures e ON d.id = e.disaster_id GROUP BY d.disaster_type;",
        "dialect": "postgres"
      },
      {
        "title": "Count Completed Tasks by Disaster",
        "sql": "SELECT d.disaster_type, COUNT(t.id) AS completed_tasks FROM disasters d JOIN tasks t ON d.id = t.disaster_id WHERE t.status = 'completed' GROUP BY d.disaster_type;",
        "dialect": "postgres"
      },
      {
        "title": "Funding Trends Over Time",
        "sql": "SELECT DATE_TRUNC('month', f.date_allocated) AS month, SUM(f.amount) AS total_funding FROM funding_sources f GROUP BY month ORDER BY month;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Disaster Response Analysis",
        "body": "Emergency managers can use this dataset to analyze past disaster responses, examining how funding levels affected task efficiency and completion rates. By understanding these dynamics, they can improve future resource allocation strategies."
      },
      {
        "title": "Financial Oversight",
        "body": "Financial analysts can leverage the funding_sources and expenditures tables to assess the effectiveness of financial distributions during disaster management. This analysis can guide future budgetary decisions and funding strategies."
      },
      {
        "title": "Damage Assessment Reporting",
        "body": "Assessors can utilize the damage_assessments table to correlate damage levels with disaster types, providing vital insights for insurance companies and government agencies focused on recovery efforts and future preparedness."
      },
      {
        "title": "Resource Allocation Planning",
        "body": "Logistics coordinators can analyze the resources table to determine the most commonly deployed resources for each task and disaster type. This can inform training and preparation activities for future emergencies."
      }
    ]
  },
  "counts": {
    "disasters": 150,
    "damage_assessments": 200,
    "expenditures": 250,
    "funding_sources": 300,
    "tasks": 400,
    "resources": 350
  },
  "stats": {
    "disasters": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "disaster_type": {
          "nulls": 0,
          "distinct": 5,
          "min": "earthquake",
          "max": "wildfire"
        },
        "impact_level": {
          "nulls": 0,
          "distinct": 10,
          "min": 1,
          "max": 10
        },
        "date_occurred": {
          "nulls": 0,
          "distinct": 145,
          "min": "2020-01-02",
          "max": "2023-12-31"
        }
      }
    },
    "funding_sources": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "disaster_id": {
          "nulls": 0,
          "distinct": 134,
          "min": 1,
          "max": 150
        },
        "source_name": {
          "nulls": 41,
          "distinct": 259
        },
        "amount": {
          "nulls": 17,
          "distinct": 283,
          "min": 41036.48,
          "max": 4969732.9
        },
        "date_allocated": {
          "nulls": 0,
          "distinct": 271,
          "min": "2020-01-03",
          "max": "2023-12-26"
        }
      }
    },
    "tasks": {
      "rows": 400,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 400,
          "min": 1,
          "max": 400
        },
        "disaster_id": {
          "nulls": 0,
          "distinct": 147,
          "min": 1,
          "max": 150
        },
        "task_description": {
          "nulls": 36,
          "distinct": 361
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "completed",
          "max": "pending"
        },
        "assigned_date": {
          "nulls": 252,
          "distinct": 143,
          "min": "2020-01-16",
          "max": "2023-12-13"
        }
      }
    },
    "expenditures": {
      "rows": 250,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "disaster_id": {
          "nulls": 0,
          "distinct": 128,
          "min": 1,
          "max": 150
        },
        "amount_spent": {
          "nulls": 0,
          "distinct": 250,
          "min": 518.74,
          "max": 998292.01
        },
        "date_spent": {
          "nulls": 0,
          "distinct": 223,
          "min": "2020-01-04",
          "max": "2023-12-30"
        }
      }
    },
    "damage_assessments": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "disaster_id": {
          "nulls": 0,
          "distinct": 113,
          "min": 1,
          "max": 149
        },
        "total_damage": {
          "nulls": 17,
          "distinct": 183,
          "min": 83057.28,
          "max": 9857906.75
        },
        "assessment_date": {
          "nulls": 0,
          "distinct": 183,
          "min": "2020-01-26",
          "max": "2023-12-19"
        }
      }
    },
    "resources": {
      "rows": 350,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 350,
          "min": 1,
          "max": 350
        },
        "task_id": {
          "nulls": 0,
          "distinct": 235,
          "min": 1,
          "max": 399
        },
        "resource_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "equipment",
          "max": "supplies"
        },
        "quantity": {
          "nulls": 116,
          "distinct": 204,
          "min": 6,
          "max": 1000
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/disasters.csv",
      "format": "csv",
      "table": "disasters",
      "key": "datasets/crisis-logistics-insights/v1/csv/disasters.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/csv/disasters.csv",
      "bytes": 3980,
      "sha256": "70a32ddf13ce2bd2e8fa4c0ce11ee6f731d4229a8ce5d9678a8756d618e00809",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/damage_assessments.csv",
      "format": "csv",
      "table": "damage_assessments",
      "key": "datasets/crisis-logistics-insights/v1/csv/damage_assessments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/csv/damage_assessments.csv",
      "bytes": 5806,
      "sha256": "7f5fbb94fde43c93de5d7ef03672792de3e292ec434e3eea724e762d7f048619",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/expenditures.csv",
      "format": "csv",
      "table": "expenditures",
      "key": "datasets/crisis-logistics-insights/v1/csv/expenditures.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/csv/expenditures.csv",
      "bytes": 7233,
      "sha256": "10054a3b6e951964990ba387c08871f54038a07920ac9aec212ac6feb3874b92",
      "rows": 250,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/funding_sources.csv",
      "format": "csv",
      "table": "funding_sources",
      "key": "datasets/crisis-logistics-insights/v1/csv/funding_sources.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/csv/funding_sources.csv",
      "bytes": 55351,
      "sha256": "21e33ed30230baff89fce8669562d91d9873c76c0d2279a08dcfcef8a4a0b9f5",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/tasks.csv",
      "format": "csv",
      "table": "tasks",
      "key": "datasets/crisis-logistics-insights/v1/csv/tasks.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/csv/tasks.csv",
      "bytes": 29739,
      "sha256": "265275bf9ede32a85bb0797e485cfb38e81b803b895a01539c20dcaab5f04e1a",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/resources.csv",
      "format": "csv",
      "table": "resources",
      "key": "datasets/crisis-logistics-insights/v1/csv/resources.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/csv/resources.csv",
      "bytes": 7371,
      "sha256": "b76d00a67877b1435b924151b6c6464329835fb33534ad3be61fbadaa89cb92d",
      "rows": 350,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "crisis-logistics-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/crisis-logistics-insights/v1/crisis-logistics-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/crisis-logistics-insights.json",
      "bytes": 280267,
      "sha256": "96851a366c82c3a8b46af0ee43ad2f6408019752ddf4bb2bc502b5096071204c",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/crisis-logistics-insights/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/sql/postgres.sql",
      "bytes": 135385,
      "sha256": "72296615b2e25fc619efd497d898c13e7ec6cb596230cb3cbc6ee6a3412e0ea0",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/crisis-logistics-insights/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/sql/mysql.sql",
      "bytes": 134678,
      "sha256": "69d0b8827a0f52667bf822f1a0150af7c6b4b0d044e659d6bd09093773fed749",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/crisis-logistics-insights/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/sql/mssql.sql",
      "bytes": 137668,
      "sha256": "a67589597a96e5598610d8dc7b9c08435eb1e090eea0a29caa6f2efe48e658d9",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/crisis-logistics-insights/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/sql/sqlite.sql",
      "bytes": 134446,
      "sha256": "0e34ec2bfdd635fd8a4c7ced6a0708f78d353168a9db8e89dbc0cdae4f62adf7",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/crisis-logistics-insights/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/prisma/seed.ts",
      "bytes": 230976,
      "sha256": "e04506e15d483d19e6df57e82831937b257bf7ea136bc772c73708e862b7d26a",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/crisis-logistics-insights/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/crisis-logistics-insights/v1/django/fixtures.json",
      "bytes": 353646,
      "sha256": "420f87cf36e9ec5812b67bc27d3faf8dcd5b39a3f14f87f08838b87657e094f7",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788734482302,
  "updatedAt": 1788734482302
}
