{
  "format": "dataset-manifest/1",
  "slug": "weather-forecast-and-alert-app",
  "version": 1,
  "seed": "weather-forecast-and-alert-app:1",
  "spec": {
    "format": "dataset/1",
    "slug": "weather-forecast-and-alert-app",
    "name": "Weather Insights Collection",
    "tagline": "Accurate weather forecasts and alerts for informed decision-making.",
    "description": "Weather forecasts inform individuals and organizations about impending climate conditions, guiding them in decision-making processes. This business operates with a focus on providing timely and precise weather reports through a network of IoT sensors strategically placed in various locations. Users benefit from customized alerts that reflect their geographical area and personal preferences, ensuring they receive relevant information to stay prepared for daily and severe weather events alike.\n\nThe primary table in this dataset, `weather_data`, contains detailed records of weather conditions captured by these sensors. Each row represents a unique entry of weather data linked to specific timestamps and locations. Attributes such as temperature, humidity, wind speed, and weather events are documented, allowing for a comprehensive view of the weather landscape at any given moment. This structured approach enables developers to explore various relationships within the data, such as trends over time and the correlation between different weather factors.\n\nPractitioners can utilize this dataset to answer crucial questions like: How do temperature fluctuations impact humidity levels? What are the patterns of extreme weather occurrences in specific regions? By analyzing this data, developers can hone their skills in data manipulation, visualization, and predictive analytics, particularly in the context of seasonal variations and climate change impacts. Additionally, the insights drawn from this data can assist organizations in improving their weather preparedness strategies.\n\nIt's important to note that this data is synthetic, designed to simulate real-world weather conditions while ensuring a safe and versatile environment for practicing data analysis techniques.",
    "domain": "iot",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "weather",
      "forecasts",
      "alerts",
      "sensor data",
      "IoT",
      "time-series",
      "analytics",
      "climate",
      "extreme weather"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "weather_data": {
        "description": "Each row in this table represents daily weather metrics collected from various IoT monitoring stations. It includes common conditions alongside alerts for extreme weather events.",
        "rows": 365,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each record."
          },
          "date": {
            "kind": "date",
            "from": "2022-01-01",
            "to": "2022-12-31",
            "description": "The date of the recorded weather data.",
            "trend": "seasonal"
          },
          "temperature_c": {
            "kind": "decimal",
            "min": -30,
            "max": 50,
            "scale": 1,
            "description": "Average temperature for the day in degrees Celsius.",
            "nullable": true
          },
          "humidity_percentage": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 1,
            "description": "Average humidity for the day as a percentage.",
            "nullable": true
          },
          "wind_speed_kmh": {
            "kind": "decimal",
            "min": 0,
            "max": 150,
            "scale": 1,
            "description": "Average wind speed for the day in kilometers per hour.",
            "nullable": true
          },
          "alert": {
            "kind": "enum",
            "values": [
              "none",
              "storm",
              "hurricane",
              "flood",
              "heatwave"
            ],
            "weights": [
              0.7,
              0.1,
              0.05,
              0.1,
              0.05
            ],
            "description": "Type of weather alert issued for the day."
          },
          "sensor_status": {
            "kind": "enum",
            "values": [
              "operational",
              "maintenance",
              "offline"
            ],
            "weights": [
              0.85,
              0.1,
              0.05
            ],
            "description": "Operational status of the weather monitoring sensor.",
            "nullable": true,
            "when": {
              "column": "alert",
              "in": [
                "storm",
                "hurricane",
                "flood",
                "heatwave"
              ]
            }
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "timestamped",
      "monetary",
      "categorical",
      "nullable"
    ],
    "analysisQuestions": [
      "What are the average temperature trends throughout the year?",
      "How often do extreme weather alerts occur, and during which months?",
      "What is the relationship between humidity levels and temperature?",
      "What percentage of the time are sensors operational versus under maintenance?"
    ],
    "suggestedQueries": [
      {
        "title": "Get all weather data for January 2022",
        "sql": "SELECT * FROM weather_data WHERE date BETWEEN '2022-01-01' AND '2022-01-31';",
        "dialect": "postgres"
      },
      {
        "title": "Count the number of extreme weather alerts issued",
        "sql": "SELECT alert, COUNT(*) FROM weather_data WHERE alert != 'none' GROUP BY alert;",
        "dialect": "postgres"
      },
      {
        "title": "Find average temperature on days with heatwave alerts",
        "sql": "SELECT AVG(temperature_c) FROM weather_data WHERE alert = 'heatwave';",
        "dialect": "postgres"
      },
      {
        "title": "Get daily wind speed over a specific date range",
        "sql": "SELECT date, wind_speed_kmh FROM weather_data WHERE date BETWEEN '2022-06-01' AND '2022-06-30' ORDER BY date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Weather Application Development",
        "body": "Developers can utilize the Weather Insights Collection dataset to build and test applications aimed at providing users with real-time weather forecasts and alerts. By integrating this synthetic data, they can simulate various weather conditions and assess how their applications respond to different scenarios."
      },
      {
        "title": "Business Intelligence Analysis",
        "body": "Data analysts can leverage the dataset for creating business intelligence dashboards that visualize weather trends over time. By analyzing this data, they can provide insights to businesses about seasonal effects on operations and help them prepare for extreme weather events."
      },
      {
        "title": "Academic Research on Climate Patterns",
        "body": "Researchers studying climate patterns can use this dataset to model and analyze weather trends over an entire year. With access to detailed metrics such as temperature and humidity, they can derive conclusions on how climate change may be impacting local weather patterns."
      }
    ]
  },
  "counts": {
    "weather_data": 365
  },
  "stats": {
    "weather_data": {
      "rows": 365,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 365,
          "min": 1,
          "max": 365
        },
        "date": {
          "nulls": 0,
          "distinct": 221,
          "min": "2022-01-02",
          "max": "2022-12-31"
        },
        "temperature_c": {
          "nulls": 32,
          "distinct": 270,
          "min": -29.9,
          "max": 49.9
        },
        "humidity_percentage": {
          "nulls": 48,
          "distinct": 273,
          "min": 0.8,
          "max": 99.9
        },
        "wind_speed_kmh": {
          "nulls": 27,
          "distinct": 306,
          "min": 1.1,
          "max": 149.5
        },
        "alert": {
          "nulls": 0,
          "distinct": 5,
          "min": "flood",
          "max": "storm"
        },
        "sensor_status": {
          "nulls": 258,
          "distinct": 3,
          "min": "maintenance",
          "max": "operational"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/weather_data.csv",
      "format": "csv",
      "table": "weather_data",
      "key": "datasets/weather-forecast-and-alert-app/v1/csv/weather_data.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/weather-forecast-and-alert-app/v1/csv/weather_data.csv",
      "bytes": 14562,
      "sha256": "c04f6d12ddb52158e2d76b73f0be12e6dea25bc1f18295a4e4eb2a9ab97334f2",
      "rows": 365,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "weather-forecast-and-alert-app.json",
      "format": "json",
      "table": null,
      "key": "datasets/weather-forecast-and-alert-app/v1/weather-forecast-and-alert-app.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/weather-forecast-and-alert-app/v1/weather-forecast-and-alert-app.json",
      "bytes": 75121,
      "sha256": "ef3dc6494fe3fe4487531454f272e95f403dc82fa598e59baab4689f5f7ee5b2",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/weather-forecast-and-alert-app/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/weather-forecast-and-alert-app/v1/sql/postgres.sql",
      "bytes": 22978,
      "sha256": "5f9e612806adee961e325b04512173ef005e5b64a011b4926e43d9f62dcc7e12",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/weather-forecast-and-alert-app/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/weather-forecast-and-alert-app/v1/sql/mysql.sql",
      "bytes": 22871,
      "sha256": "eb7a95b941ff4d9ade67305bbe3d93e68dcb179d62a9df80eacf9a7ee529a285",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/weather-forecast-and-alert-app/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/weather-forecast-and-alert-app/v1/sql/mssql.sql",
      "bytes": 23779,
      "sha256": "edb3d4932831ec0269cced2e500d81d270e6da4807b05593939fa3badf3498f2",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/weather-forecast-and-alert-app/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/weather-forecast-and-alert-app/v1/sql/sqlite.sql",
      "bytes": 22841,
      "sha256": "d0f6fada0482e90a9b844586a5f53cb59e4c92a7bf1b07046b233829c1f79135",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/weather-forecast-and-alert-app/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/weather-forecast-and-alert-app/v1/prisma/seed.ts",
      "bytes": 59041,
      "sha256": "ca729e593939d2b15e8196d65ed61c59d328d0d4615cd5c2712245f3b5f5a77c",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/weather-forecast-and-alert-app/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/weather-forecast-and-alert-app/v1/django/fixtures.json",
      "bytes": 94787,
      "sha256": "3dcd6226fd65645ee46432029dedd843152901b6e4b5e23ab1f033371341d993",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767692832,
  "updatedAt": 1788767692832
}
