{
  "format": "dataset-manifest/1",
  "slug": "real-time-disaster-preparedness-and-alerts-app",
  "version": 2,
  "seed": "real-time-disaster-preparedness-and-alerts-app:1",
  "spec": {
    "format": "dataset/1",
    "slug": "real-time-disaster-preparedness-and-alerts-app",
    "name": "Disaster Response Insights",
    "tagline": "Enhancing community readiness through real-time disaster insights.",
    "description": "Communities track critical information to enhance their readiness for potential disasters. Weather conditions are monitored closely, providing real-time updates that inform residents about impending storms or natural disasters. Shelter availability is assessed to ensure that adequate accommodations are ready for those displaced. Supplies distribution keeps tabs on essential items like food, water, and medical resources, ensuring they reach affected areas promptly. Volunteer engagement highlights the community's response efforts, showcasing how many are willing to assist in times of need. User preparedness details how well individuals are equipped to handle disasters, reflecting their access to information and resources. Alerts act as urgent notifications that inform the public about severe weather events, prompting immediate actions or precautions. \n\nEach table interconnects to paint a comprehensive picture of disaster readiness. The weather_conditions table provides data on current and forecasted weather, which can be linked to alerts for severe events, allowing users to respond effectively. Shelter_availability is tied to supplies_distribution, ensuring that resources are directed where they are most needed during an active disaster. Volunteer_engagement tracks the number of individuals ready to help, which can correlate with user_preparedness to understand community response capabilities. Together, these tables allow for insightful analysis of how well a community can respond to disasters. \n\nThis synthetic dataset is ideal for exploring questions such as how weather patterns impact shelter usage or analyzing volunteer engagement trends during significant weather events. Users can practice data manipulation, querying, and visualizing relationships across various dimensions of disaster readiness, such as comparing supply distributions against user preparedness levels during specific alerts. Whether you're looking to hone your analytical skills or understand disaster response dynamics, this dataset provides a rich source of information.",
    "domain": "iot",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "disaster response",
      "real-time data",
      "shelter availability",
      "weather alerts",
      "community engagement",
      "preparedness"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "weather_conditions": {
        "description": "This table captures real-time weather data for various locations, linking to both shelter availability and alerts. Each row represents a specific weather report.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each weather report."
          },
          "location": {
            "kind": "city",
            "description": "City where the weather conditions are reported."
          },
          "temperature": {
            "kind": "decimal",
            "min": -30,
            "max": 50,
            "scale": 1,
            "description": "Current temperature in degrees Celsius.",
            "distribution": "normal"
          },
          "humidity": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 1,
            "description": "Current humidity percentage.",
            "distribution": "normal"
          },
          "report_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of the weather report."
          }
        }
      },
      "shelter_availability": {
        "description": "This table provides information on the availability of shelters during disasters, linked to user preparedness and volunteer engagement. Each row indicates a shelter and its current status.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each shelter."
          },
          "location": {
            "kind": "city",
            "description": "City where the shelter is located."
          },
          "capacity": {
            "kind": "int",
            "min": 10,
            "max": 500,
            "description": "Total capacity of the shelter.",
            "distribution": "long-tail"
          },
          "current_occupancy": {
            "kind": "int",
            "min": 0,
            "max": 500,
            "description": "Current number of occupants in the shelter.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "status": {
            "kind": "enum",
            "values": [
              "open",
              "closed",
              "full"
            ],
            "description": "Current operational status of the shelter.",
            "weights": [
              7,
              2,
              1
            ]
          },
          "last_updated": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of the last status update.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "open",
                "closed"
              ]
            },
            "dayProfile": "business"
          }
        }
      },
      "supplies_distribution": {
        "description": "This table tracks the distribution of essential supplies to shelters and affected areas, connecting to volunteer engagement. Each row details a supply distribution event.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each distribution event."
          },
          "shelter_id": {
            "kind": "fk",
            "ref": "shelter_availability.id",
            "description": "Identifier linking to the shelter receiving supplies."
          },
          "supplies_type": {
            "kind": "enum",
            "values": [
              "food",
              "water",
              "medical",
              "clothing"
            ],
            "description": "Type of supplies being distributed.",
            "weights": [
              5,
              4,
              3,
              2
            ]
          },
          "quantity": {
            "kind": "int",
            "min": 1,
            "max": 1000,
            "description": "Quantity of supplies distributed.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "distribution_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of the distribution event.",
            "nullable": true,
            "when": {
              "column": "supplies_type",
              "in": [
                "food",
                "water"
              ]
            },
            "dayProfile": "waking"
          }
        }
      },
      "volunteer_engagement": {
        "description": "This table captures data on volunteers contributing to disaster response efforts. Each row represents an engagement event.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each volunteer engagement event."
          },
          "volunteer_name": {
            "kind": "fullName",
            "description": "Full name of the volunteer."
          },
          "shelter_id": {
            "kind": "fk",
            "ref": "shelter_availability.id",
            "description": "Identifier linking to the shelter where the volunteer is engaged."
          },
          "engagement_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of when the volunteer engaged.",
            "dayProfile": "waking",
            "trend": "growing"
          }
        }
      },
      "user_preparedness": {
        "description": "This table tracks user preparedness levels in response to potential disasters, linking to weather conditions. Each row represents a user report.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user preparedness report."
          },
          "user_id": {
            "kind": "uuid",
            "description": "Unique identifier for each user."
          },
          "preparedness_level": {
            "kind": "enum",
            "values": [
              "low",
              "medium",
              "high"
            ],
            "description": "User's self-reported preparedness level."
          },
          "report_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of the preparedness report.",
            "nullable": true,
            "when": {
              "column": "preparedness_level",
              "in": [
                "medium",
                "high"
              ]
            },
            "dayProfile": "waking"
          }
        }
      },
      "alerts": {
        "description": "This table contains alerts for severe weather events, linked to weather conditions and user preparedness. Each row represents an alert issued.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each alert."
          },
          "weather_condition_id": {
            "kind": "fk",
            "ref": "weather_conditions.id",
            "description": "Identifier linking to the weather condition that triggered the alert."
          },
          "alert_message": {
            "kind": "sentence",
            "max": 255,
            "description": "Message detailing the alert."
          },
          "alert_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of when the alert was issued.",
            "dayProfile": "waking",
            "trend": "seasonal"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "categorical",
      "nullable",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "How does weather impact shelter occupancy rates?",
      "What types of supplies are most frequently distributed during disasters?",
      "Which locations report the highest levels of user preparedness?",
      "How often do severe weather alerts lead to increased volunteer engagement?",
      "What is the average time taken for supplies to reach shelters after a disaster alert?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Weather Conditions with Alerts",
        "sql": "SELECT w.id, w.location, a.alert_message FROM weather_conditions w JOIN alerts a ON w.id = a.weather_condition_id;",
        "dialect": "postgres"
      },
      {
        "title": "Aggregate Supplies Distribution by Type",
        "sql": "SELECT supplies_type, SUM(quantity) as total_quantity FROM supplies_distribution GROUP BY supplies_type;",
        "dialect": "postgres"
      },
      {
        "title": "Count Volunteers Engaged per Shelter",
        "sql": "SELECT shelter_id, COUNT(id) as volunteer_count FROM volunteer_engagement GROUP BY shelter_id;",
        "dialect": "postgres"
      },
      {
        "title": "User Preparedness Trends Over Time",
        "sql": "SELECT DATE(report_time) as report_date, AVG(preparedness_level) as avg_preparedness FROM user_preparedness GROUP BY report_date ORDER BY report_date;",
        "dialect": "postgres"
      },
      {
        "title": "Recent Alerts and their Weather Conditions",
        "sql": "SELECT a.alert_message, w.temperature, w.humidity FROM alerts a JOIN weather_conditions w ON a.weather_condition_id = w.id ORDER BY a.alert_time DESC;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Community Disaster Preparedness Review",
        "body": "Local government officials can utilize this dataset to gauge the current preparedness levels of residents in the community, identify areas needing more support, and strategize resource allocation for upcoming disaster seasons."
      },
      {
        "title": "Supply Chain Management for Disasters",
        "body": "Nonprofit organizations focused on disaster relief can analyze supply distribution patterns to ensure that essential items reach the most affected shelters promptly, optimizing their logistical operations during emergencies."
      },
      {
        "title": "Weather Impact Analysis",
        "body": "Researchers studying the effects of weather on community readiness can utilize this data to correlate severe weather patterns with shelter occupancy and volunteer engagement, contributing to more effective disaster response strategies."
      },
      {
        "title": "Volunteer Coordination and Engagement",
        "body": "Volunteer coordinators can track engagement levels and identify trends in volunteer participation during disasters, allowing them to enhance training and mobilization efforts for future emergencies."
      }
    ]
  },
  "counts": {
    "shelter_availability": 200,
    "supplies_distribution": 500,
    "user_preparedness": 300,
    "volunteer_engagement": 400,
    "weather_conditions": 300,
    "alerts": 100
  },
  "stats": {
    "weather_conditions": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "location": {
          "nulls": 0,
          "distinct": 63,
          "min": "Amsterdam",
          "max": "Zurich"
        },
        "temperature": {
          "nulls": 0,
          "distinct": 214,
          "min": -19.9,
          "max": 42.2
        },
        "humidity": {
          "nulls": 0,
          "distinct": 226,
          "min": 11.6,
          "max": 86.3
        },
        "report_time": {
          "nulls": 0,
          "distinct": 300,
          "min": "2023-01-03 11:50:33",
          "max": "2023-12-30 09:20:39"
        }
      }
    },
    "shelter_availability": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "location": {
          "nulls": 0,
          "distinct": 62,
          "min": "Amsterdam",
          "max": "Zurich"
        },
        "capacity": {
          "nulls": 0,
          "distinct": 145,
          "min": 10,
          "max": 490
        },
        "current_occupancy": {
          "nulls": 20,
          "distinct": 132,
          "min": 0,
          "max": 494
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "closed",
          "max": "open"
        },
        "last_updated": {
          "nulls": 25,
          "distinct": 175,
          "min": "2023-01-01 12:13:45",
          "max": "2023-12-31 18:24:53"
        }
      }
    },
    "supplies_distribution": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "shelter_id": {
          "nulls": 0,
          "distinct": 183,
          "min": 1,
          "max": 200
        },
        "supplies_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "clothing",
          "max": "water"
        },
        "quantity": {
          "nulls": 45,
          "distinct": 334,
          "min": 1,
          "max": 997
        },
        "distribution_time": {
          "nulls": 190,
          "distinct": 310,
          "min": "2023-01-01 17:23:09",
          "max": "2023-12-31 14:30:07"
        }
      }
    },
    "volunteer_engagement": {
      "rows": 400,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 400,
          "min": 1,
          "max": 400
        },
        "volunteer_name": {
          "nulls": 0,
          "distinct": 390,
          "min": "Alice Ahmed",
          "max": "Zoe Pereira"
        },
        "shelter_id": {
          "nulls": 0,
          "distinct": 177,
          "min": 2,
          "max": 200
        },
        "engagement_time": {
          "nulls": 0,
          "distinct": 400,
          "min": "2023-01-01 18:21:23",
          "max": "2023-12-31 08:22:35"
        }
      }
    },
    "user_preparedness": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "user_id": {
          "nulls": 0,
          "distinct": 300
        },
        "preparedness_level": {
          "nulls": 0,
          "distinct": 3,
          "min": "high",
          "max": "medium"
        },
        "report_time": {
          "nulls": 102,
          "distinct": 198,
          "min": "2023-01-02 20:51:17",
          "max": "2023-12-31 00:59:30"
        }
      }
    },
    "alerts": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "weather_condition_id": {
          "nulls": 0,
          "distinct": 80,
          "min": 11,
          "max": 298
        },
        "alert_message": {
          "nulls": 0,
          "distinct": 100
        },
        "alert_time": {
          "nulls": 0,
          "distinct": 100,
          "min": "2023-01-06 00:27:01",
          "max": "2023-12-25 12:13:06"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/shelter_availability.csv",
      "format": "csv",
      "table": "shelter_availability",
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/csv/shelter_availability.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/csv/shelter_availability.csv",
      "bytes": 8553,
      "sha256": "0c6ab8a742e6466d22b420421e40f34c44546c042efd71465b880b81f0c19876",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/supplies_distribution.csv",
      "format": "csv",
      "table": "supplies_distribution",
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/csv/supplies_distribution.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/csv/supplies_distribution.csv",
      "bytes": 15525,
      "sha256": "f61c74afac203de4bed434719de3a9c6fb7fa28ae464a8d00212743660fe0eca",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_preparedness.csv",
      "format": "csv",
      "table": "user_preparedness",
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/csv/user_preparedness.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/csv/user_preparedness.csv",
      "bytes": 18183,
      "sha256": "07f6b7cc3ca00230c85bdc43d56b6bc6034d79e613dfba6a192fdb7c78b80a80",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/volunteer_engagement.csv",
      "format": "csv",
      "table": "volunteer_engagement",
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/csv/volunteer_engagement.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/csv/volunteer_engagement.csv",
      "bytes": 16239,
      "sha256": "ace3af646cf1f617afe61d18887b3f15a21d64591d216014c3d58eeaed010f7a",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/weather_conditions.csv",
      "format": "csv",
      "table": "weather_conditions",
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/csv/weather_conditions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/csv/weather_conditions.csv",
      "bytes": 12712,
      "sha256": "7ea4e85247e853b0399bd0fea41dba922e045d6076988bc893a391601e890b75",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/alerts.csv",
      "format": "csv",
      "table": "alerts",
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/csv/alerts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/csv/alerts.csv",
      "bytes": 8419,
      "sha256": "3b7eef77d78507a6c4c1ab30cb39cfd6a4b8fcb7d674dc45982d29c170b7870b",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "real-time-disaster-preparedness-and-alerts-app.json",
      "format": "json",
      "table": null,
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/real-time-disaster-preparedness-and-alerts-app.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/real-time-disaster-preparedness-and-alerts-app.json",
      "bytes": 280531,
      "sha256": "4edaf8733f0d134f2215cf24a77c9446c12468803eec83bed01acbfb90811214",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/sql/postgres.sql",
      "bytes": 109820,
      "sha256": "6f0b8825fae7785c17249cc74c041b0ec511098bb16398da8a9421b7ae04b895",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/sql/mysql.sql",
      "bytes": 109047,
      "sha256": "3135e8dcd72a78858003a97554ace2419f39e4935396c40509b71eefeae1dee2",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/sql/mssql.sql",
      "bytes": 113333,
      "sha256": "f5796e29ec36d650ce7578cc78b21397153137518b5b855c16e2ef2ed08ed837",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/sql/sqlite.sql",
      "bytes": 108812,
      "sha256": "351dc324e64406d9a65abe9afc94ec66b9292f5edf27fd6fca7cd0182ed984b0",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/prisma/seed.ts",
      "bytes": 239199,
      "sha256": "472a0f97ef2c82388cd69e66d65560ec9dd949ca34dd576d20e44779d51848b8",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/real-time-disaster-preparedness-and-alerts-app/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-disaster-preparedness-and-alerts-app/v2/django/fixtures.json",
      "bytes": 378272,
      "sha256": "d011daa4ad7d0883ba16e44339f510ca06dd225d49f6efb5bb9ae55b08264299",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767977208,
  "updatedAt": 1788785698612
}
