{
  "format": "dataset-manifest/1",
  "slug": "smart-home-energy-saver-app",
  "version": 2,
  "seed": "smart-home-energy-saver-app:1",
  "spec": {
    "format": "dataset/1",
    "slug": "smart-home-energy-saver-app",
    "name": "Home Energy Management Insights",
    "tagline": "User energy consumption patterns, appliance data, and electricity tariffs for sustainable home management.",
    "description": "Families optimize their electricity consumption with energy management solutions that track usage patterns and device performance. Households engage in monitoring their energy habits, responding to shifting electricity tariffs, and managing monthly bills. Their daily routines create fluctuations in energy demand, typically peaking in the evening as heating and lighting devices are heavily utilized. This synthetic dataset captures these dynamics by providing insights into how users interact with their energy consumption and the devices they use.\n\nThe dataset features four key tables: users, energy_usage, devices, and electricity_tariffs. Each user row represents an individual household, detailing their unique profile and energy management practices. The energy_usage table records the energy consumption patterns associated with each user, allowing developers to analyze trends over time. The devices table provides information on the different appliances and systems in use within each household, showcasing how they contribute to overall energy usage. Lastly, the electricity_tariffs table outlines the various pricing plans available to users, which can influence their consumption decisions.\n\nDevelopers can leverage this dataset to answer critical questions such as: How do specific devices impact overall energy consumption? What trends can be identified in energy usage related to different tariff plans? How do household routines influence peak usage times? By exploring these aspects, developers can practice their skills in data analysis, query writing, and data visualization, gaining a better understanding of energy management.\n\nThis is a synthetic dataset that simulates real-world interactions within home energy management systems, making it an excellent resource for those looking to hone their analytical skills in the energy domain.",
    "domain": "energy",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "energy management",
      "sustainability",
      "smart homes",
      "consumption patterns",
      "electricity tariffs"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table holds information about users of the energy management app. Each user has a unique identifier, along with personal details to understand their demographics.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user.",
            "nullable": true
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "Email address of the user.",
            "nullable": true
          },
          "city": {
            "kind": "city",
            "description": "City where the user resides.",
            "nullable": true
          },
          "country": {
            "kind": "country",
            "from": "city",
            "description": "Country of residence.",
            "nullable": true
          }
        }
      },
      "energy_usage": {
        "description": "This table records energy consumption data for each user. It captures daily usage amounts along with timestamps to track patterns over time.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 3,
          "max": 15,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each energy usage record."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "References the user to whom this usage belongs."
          },
          "usage_kwh": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 2,
            "description": "Energy usage in kilowatt-hours.",
            "distribution": "normal"
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of when the usage was recorded.",
            "dayProfile": "waking"
          }
        }
      },
      "devices": {
        "description": "This table contains information about the devices used by each user in their households. Each device is linked to the user who owns it.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each device."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "References the user who owns this device."
          },
          "device_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Name of the device, such as 'Refrigerator' or 'Smart Thermostat'.",
            "pool": [
              "Refrigerator",
              "Smart",
              "Thermostat",
              "Washer",
              "Dryer",
              "Oven",
              "Microwave",
              "Dishwasher",
              "Air",
              "Conditioner",
              "Heater",
              "Fan",
              "Light",
              "Bulb",
              "Speaker",
              "Camera",
              "Sensor",
              "Controller",
              "Hub",
              "Switch",
              "Outlet",
              "Plug",
              "Monitor",
              "Tracker",
              "Charger",
              "Generator",
              "Battery",
              "Pool",
              "Pump",
              "Water-heater",
              "Smartwatch",
              "Scale",
              "Thermometer",
              "Humidifier",
              "Dehumidifier",
              "Air-purifier",
              "Vacuum",
              "Robot",
              "Blender",
              "Coffee",
              "Maker",
              "Toaster",
              "Electric",
              "Kettle",
              "Rice-cooker",
              "Slow-cooker",
              "Pressure-cooker"
            ]
          },
          "power_rating_watts": {
            "kind": "int",
            "min": 10,
            "max": 3000,
            "description": "The power rating of the device in watts.",
            "distribution": "long-tail"
          }
        }
      },
      "electricity_tariffs": {
        "description": "This table outlines the electricity tariffs applicable to each user. Tariffs can vary based on time of day or consumption levels.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each tariff record."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "References the user associated with this tariff."
          },
          "tariff_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Name of the electricity tariff plan.",
            "nullable": true,
            "pool": [
              "Standard",
              "Time-of-use",
              "Flat-rate",
              "Tiered",
              "Prepaid",
              "Green",
              "Dynamic",
              "Variable",
              "Fixed",
              "Renewable",
              "Discounted",
              "Peak",
              "Off-peak",
              "Critical",
              "Demand",
              "Seasonal",
              "Block",
              "Residential",
              "Commercial",
              "Industrial",
              "Time-varying",
              "Net-metering",
              "Feed-in",
              "Smart-grid",
              "Incentive",
              "Rate",
              "Utility",
              "Wholesale",
              "Community",
              "Solar",
              "Wind",
              "Biomass",
              "Hydro",
              "Geothermal",
              "Electric-vehicle",
              "Time-based",
              "Load-management",
              "Capacity",
              "Usage-based",
              "Billing",
              "Subscription",
              "Contract",
              "Plan"
            ]
          },
          "rate_per_kwh": {
            "kind": "decimal",
            "min": 0.05,
            "max": 0.3,
            "scale": 2,
            "description": "Cost of electricity per kilowatt-hour.",
            "distribution": "long-tail"
          },
          "effective_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date when the tariff became effective.",
            "nullable": true,
            "trend": "seasonal"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "monetary",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the peak energy consumption hours for users?",
      "How do different devices impact overall energy usage?",
      "What is the average cost of electricity for users based on their tariffs?",
      "Are there any noticeable trends in energy consumption over the months?",
      "How does the energy usage vary between different user demographics?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Energy Usage",
        "sql": "SELECT u.full_name, e.usage_kwh FROM users u JOIN energy_usage e ON u.id = e.user_id",
        "dialect": "postgres"
      },
      {
        "title": "Average Energy Usage by User",
        "sql": "SELECT user_id, AVG(usage_kwh) AS avg_usage FROM energy_usage GROUP BY user_id",
        "dialect": "postgres"
      },
      {
        "title": "Total Usage Over Time",
        "sql": "SELECT DATE(timestamp) AS usage_date, SUM(usage_kwh) AS total_usage FROM energy_usage GROUP BY usage_date ORDER BY usage_date",
        "dialect": "postgres"
      },
      {
        "title": "Cost Calculation by Tariff",
        "sql": "SELECT u.full_name, SUM(e.usage_kwh * t.rate_per_kwh) AS total_cost FROM users u JOIN energy_usage e ON u.id = e.user_id JOIN electricity_tariffs t ON u.id = t.user_id GROUP BY u.full_name",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Homeowners Monitoring Energy Usage",
        "body": "Homeowners can utilize the data from this dataset to monitor their energy consumption patterns over time. By analyzing their daily usage, they can identify peak consumption hours and adjust their habits, such as running appliances during off-peak hours to save on electricity bills."
      },
      {
        "title": "Energy Management Application Development",
        "body": "Developers can use this dataset to create energy management applications that provide real-time insights to users. With a focus on sustainability, these applications can help users optimize their energy consumption and reduce their overall carbon footprint."
      },
      {
        "title": "Utility Companies Analyzing Tariff Impact",
        "body": "Utility companies can analyze the impact of different electricity tariffs on user consumption patterns. By understanding how tariffs affect usage, they can design better pricing models that encourage energy conservation and improve customer satisfaction."
      },
      {
        "title": "Researchers Studying Energy Efficiency",
        "body": "Researchers can leverage this dataset to study energy efficiency trends across different demographics. By examining the correlation between device usage and energy consumption, they can identify opportunities for promoting energy-efficient appliances and practices."
      }
    ]
  },
  "counts": {
    "users": 100,
    "devices": 231,
    "electricity_tariffs": 100,
    "energy_usage": 697
  },
  "stats": {
    "users": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "full_name": {
          "nulls": 13,
          "distinct": 87,
          "min": "Amir Klein",
          "max": "Yusuf Schmidt"
        },
        "email": {
          "nulls": 23,
          "distinct": 77
        },
        "city": {
          "nulls": 14,
          "distinct": 45,
          "min": "Amsterdam",
          "max": "Zurich"
        },
        "country": {
          "nulls": 9,
          "distinct": 38,
          "min": "Argentina",
          "max": "United States"
        }
      }
    },
    "energy_usage": {
      "rows": 697,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 697,
          "min": 1,
          "max": 697
        },
        "user_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "usage_kwh": {
          "nulls": 0,
          "distinct": 649,
          "min": 9.54,
          "max": 94.04
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 697,
          "min": "2023-01-01 01:28:47",
          "max": "2023-12-31 22:07:15"
        }
      }
    },
    "devices": {
      "rows": 231,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 231,
          "min": 1,
          "max": 231
        },
        "user_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "device_name": {
          "nulls": 0,
          "distinct": 192
        },
        "power_rating_watts": {
          "nulls": 0,
          "distinct": 221,
          "min": 10,
          "max": 2913
        }
      }
    },
    "electricity_tariffs": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "user_id": {
          "nulls": 0,
          "distinct": 64,
          "min": 2,
          "max": 100
        },
        "tariff_name": {
          "nulls": 9,
          "distinct": 80
        },
        "rate_per_kwh": {
          "nulls": 0,
          "distinct": 25,
          "min": 0.05,
          "max": 0.3
        },
        "effective_date": {
          "nulls": 6,
          "distinct": 83,
          "min": "2023-01-04",
          "max": "2023-12-31"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/smart-home-energy-saver-app/v2/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-home-energy-saver-app/v2/csv/users.csv",
      "bytes": 4907,
      "sha256": "c4917023a19cabd8317bec248906d32f3d33780dd5ca57f3f12db66a58129965",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/devices.csv",
      "format": "csv",
      "table": "devices",
      "key": "datasets/smart-home-energy-saver-app/v2/csv/devices.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-home-energy-saver-app/v2/csv/devices.csv",
      "bytes": 6650,
      "sha256": "8b0808bbdd0badb822ca3cc4d9c935a8cb95a4d31d9e4de6d6cb0353ea053998",
      "rows": 231,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/electricity_tariffs.csv",
      "format": "csv",
      "table": "electricity_tariffs",
      "key": "datasets/smart-home-energy-saver-app/v2/csv/electricity_tariffs.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-home-energy-saver-app/v2/csv/electricity_tariffs.csv",
      "bytes": 3928,
      "sha256": "8c7616a593788f14ad0b0ec9378502eabe01d2e794a4ac6ac1585536b7db1e6a",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/energy_usage.csv",
      "format": "csv",
      "table": "energy_usage",
      "key": "datasets/smart-home-energy-saver-app/v2/csv/energy_usage.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-home-energy-saver-app/v2/csv/energy_usage.csv",
      "bytes": 23562,
      "sha256": "6b781346274f0151819ec522e965e83e2c79c043a8998e2071b8b19c7f99bd91",
      "rows": 697,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "smart-home-energy-saver-app.json",
      "format": "json",
      "table": null,
      "key": "datasets/smart-home-energy-saver-app/v2/smart-home-energy-saver-app.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-home-energy-saver-app/v2/smart-home-energy-saver-app.json",
      "bytes": 141230,
      "sha256": "ba031b6b2bbfb354faba349f1561628cddc3f76c2753226021d58d2ad444d191",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/smart-home-energy-saver-app/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-home-energy-saver-app/v2/sql/postgres.sql",
      "bytes": 55024,
      "sha256": "6a3346949d27d801f97d682033c848239240215c8c857e36b00e2561002e625a",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/smart-home-energy-saver-app/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-home-energy-saver-app/v2/sql/mysql.sql",
      "bytes": 54562,
      "sha256": "5ed0a110f886ee998a4cc9abcb7ad4aac57b3681cc70da9b6062f28b821e9c12",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/smart-home-energy-saver-app/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-home-energy-saver-app/v2/sql/mssql.sql",
      "bytes": 56289,
      "sha256": "55d71fffc88f1a9f308f18a31867730c5ac03306637399bd430db260a29b5f41",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/smart-home-energy-saver-app/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-home-energy-saver-app/v2/sql/sqlite.sql",
      "bytes": 54388,
      "sha256": "bcc0dafdb7abc98b2d0e8104dd6dac6bcaf1890e8f4d2572b6d16eaa61d8f101",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/smart-home-energy-saver-app/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-home-energy-saver-app/v2/prisma/seed.ts",
      "bytes": 118363,
      "sha256": "60fd345b6b3543d924bf86b5b765e4500b88eddf4a3cb5a0228db4c78c83b09b",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/smart-home-energy-saver-app/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-home-energy-saver-app/v2/django/fixtures.json",
      "bytes": 193327,
      "sha256": "a2409d44506c006dd5c8407668555ca7aa81a25c8b2674b0089d17eb00cf26f6",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766207396,
  "updatedAt": 1788785972377
}
