{
  "format": "dataset-manifest/1",
  "slug": "home-energy-consumption-analyzer",
  "version": 2,
  "seed": "home-energy-consumption-analyzer:1",
  "spec": {
    "format": "dataset/1",
    "slug": "home-energy-consumption-analyzer",
    "name": "Home Energy Insights",
    "tagline": "Energy consumption data from households, tracking appliance usage and its correlation with costs and weather conditions.",
    "description": "Households strive to optimize their energy usage while reducing costs and environmental impact. This synthetic dataset captures energy consumption across various appliances, utility bill analysis, and weather conditions influencing energy needs. Users can engage with smart devices for tailored feedback to understand consumption patterns and improve efficiency. The data allows for detailed analytics on energy usage, showcasing how tech-savvy customers implement smart plugs and devices to enhance their energy efficiency, while also identifying fluctuations in usage tied to seasonal changes. This dataset is ideal for building visualizations and insights into energy consumption trends over time.",
    "domain": "energy",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "energy consumption",
      "smart devices",
      "utility bills",
      "appliance usage",
      "seasonal fluctuations",
      "efficiency tracking"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "energy_consumption": {
        "description": "This table records energy consumption data for various household appliances over time. Each row represents a specific timestamp, detailing the energy used by different appliances, the overall household consumption, and relevant weather conditions. This allows for tracking patterns in energy usage and correlating them with external factors.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each record."
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time when the energy consumption was recorded."
          },
          "appliance_usage": {
            "kind": "decimal",
            "min": 0,
            "max": 1000,
            "scale": 2,
            "description": "Total energy consumption in kilowatt-hours (kWh) by appliances during the recorded timestamp.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "total_consumption": {
            "kind": "decimal",
            "min": 0,
            "max": 5000,
            "scale": 2,
            "description": "Total energy consumption in kilowatt-hours (kWh) for the household during the recorded timestamp.",
            "nullable": true,
            "when": {
              "column": "season",
              "in": [
                "winter",
                "summer"
              ]
            },
            "distribution": "long-tail"
          },
          "weather_condition": {
            "kind": "enum",
            "values": [
              "sunny",
              "cloudy",
              "rainy",
              "snowy"
            ],
            "description": "The weather condition at the time of recording, which may influence energy usage.",
            "weights": [
              6,
              3,
              2,
              1
            ]
          },
          "season": {
            "kind": "enum",
            "values": [
              "winter",
              "spring",
              "summer",
              "fall"
            ],
            "description": "The season during which the energy consumption was recorded.",
            "weights": [
              5,
              3,
              6,
              4
            ]
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "timestamped",
      "monetary",
      "categorical"
    ],
    "analysisQuestions": [
      "How does energy consumption vary across different seasons?",
      "What is the average energy usage per appliance over the year?",
      "Are there specific weather conditions that lead to higher energy consumption?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Energy Consumption with Weather Conditions",
        "sql": "SELECT * FROM energy_consumption WHERE weather_condition = 'sunny';",
        "dialect": "postgres"
      },
      {
        "title": "Average Appliance Usage by Season",
        "sql": "SELECT season, AVG(appliance_usage) FROM energy_consumption GROUP BY season;",
        "dialect": "postgres"
      },
      {
        "title": "Total Energy Consumption Over Time",
        "sql": "SELECT timestamp, SUM(total_consumption) FROM energy_consumption GROUP BY timestamp ORDER BY timestamp;",
        "dialect": "postgres"
      },
      {
        "title": "Daily Energy Consumption Trends",
        "sql": "SELECT DATE(timestamp) AS date, SUM(total_consumption) AS daily_consumption FROM energy_consumption GROUP BY date ORDER BY date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Energy Auditors",
        "body": "Energy auditors can utilize this dataset to evaluate household energy usage patterns, identifying areas for improvement and recommending energy-saving devices to reduce costs."
      },
      {
        "title": "Utility Companies",
        "body": "Utility companies can analyze this data to understand peak consumption times and tailor their energy offerings or pricing models to encourage energy efficiency among customers."
      },
      {
        "title": "Environmental Researchers",
        "body": "Researchers can use the dataset to study the impact of weather conditions on energy consumption, contributing to broader environmental studies on energy usage and sustainability."
      }
    ]
  },
  "counts": {
    "energy_consumption": 500
  },
  "stats": {
    "energy_consumption": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 500,
          "min": "2023-01-01 15:30:00",
          "max": "2023-12-31 19:23:06"
        },
        "appliance_usage": {
          "nulls": 52,
          "distinct": 445,
          "min": 0,
          "max": 985.26
        },
        "total_consumption": {
          "nulls": 201,
          "distinct": 296,
          "min": 0.04,
          "max": 4970.56
        },
        "weather_condition": {
          "nulls": 0,
          "distinct": 4,
          "min": "cloudy",
          "max": "sunny"
        },
        "season": {
          "nulls": 0,
          "distinct": 4,
          "min": "fall",
          "max": "winter"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/energy_consumption.csv",
      "format": "csv",
      "table": "energy_consumption",
      "key": "datasets/home-energy-consumption-analyzer/v2/csv/energy_consumption.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-energy-consumption-analyzer/v2/csv/energy_consumption.csv",
      "bytes": 24238,
      "sha256": "4a3393495bfb43199f5116b48b893338fb85b52d119daf54983d638852662940",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "home-energy-consumption-analyzer.json",
      "format": "json",
      "table": null,
      "key": "datasets/home-energy-consumption-analyzer/v2/home-energy-consumption-analyzer.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-energy-consumption-analyzer/v2/home-energy-consumption-analyzer.json",
      "bytes": 99618,
      "sha256": "84ccce2323f61dd1d68c600d3d9a8272a927832aaf41af0818e400a31a5270b3",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/home-energy-consumption-analyzer/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-energy-consumption-analyzer/v2/sql/postgres.sql",
      "bytes": 34786,
      "sha256": "0e3d534e09f4c5865663841044b39bb1fb016ff26af8bd0d5502e5a7cda5cd90",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/home-energy-consumption-analyzer/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-energy-consumption-analyzer/v2/sql/mysql.sql",
      "bytes": 34666,
      "sha256": "7af002e684df7c45dfb657de7509e6b15803e1c88ed27a67d2b8aff60ec09acf",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/home-energy-consumption-analyzer/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-energy-consumption-analyzer/v2/sql/mssql.sql",
      "bytes": 36250,
      "sha256": "a72a857f5ac7c50b1f9aa6ca1a7e7bdb8d8e5c5364fc57d4d6aad50ac20bd825",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/home-energy-consumption-analyzer/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-energy-consumption-analyzer/v2/sql/sqlite.sql",
      "bytes": 34633,
      "sha256": "2b898790f49f1b4346cb8c39551937662c94c3d01591b36f7f857739963b0722",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/home-energy-consumption-analyzer/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-energy-consumption-analyzer/v2/prisma/seed.ts",
      "bytes": 85435,
      "sha256": "a8caa9c46e908c79d249a289bd3b7fbdf0564a09c6d480fccf161c148fc79138",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/home-energy-consumption-analyzer/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-energy-consumption-analyzer/v2/django/fixtures.json",
      "bytes": 128674,
      "sha256": "bc06e20847235a05fe7dfe0b03367ca578cd8b2ee6783ee376edf32f27ca5742",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768108190,
  "updatedAt": 1788784268732
}
