{
  "format": "dataset-manifest/1",
  "slug": "energy-consumption-tracker",
  "version": 3,
  "seed": "energy-consumption-tracker:1",
  "spec": {
    "format": "dataset/1",
    "slug": "energy-consumption-tracker",
    "name": "Energy Usage Insights",
    "tagline": "Energy consumption data from homes and facilities, including weather conditions and carbon footprint metrics.",
    "description": "Individuals and businesses monitor their energy consumption to gain insights into their usage patterns and optimize their practices. The company focuses on helping users track electricity consumption across homes and facilities, correlating this data with weather conditions from nearby stations. These insights enable users to adjust their habits, especially during peak hours when consumption tends to spike, while also considering their participation in various energy efficiency programs that promote lower usage and sustainability. The goal is to reduce energy costs and minimize the carbon footprint associated with energy consumption.\n\nIn this dataset, the 'energy_consumption' table records the amount of electricity used by different facilities and households, while the 'facilities' table provides details about each location, such as type, size, and geographical factors. The 'weather_data' table includes temperature, humidity, and other atmospheric conditions that can impact energy use. Each record in the 'carbon_footprint' table reflects the environmental impact associated with different energy sources used in the facilities. Finally, the 'energy_efficiency_programs' table outlines the various initiatives available to users aimed at encouraging lower energy use and sustainable practices.\n\nThis dataset enables developers to answer critical questions about energy consumption patterns, efficiency initiatives, and the impact of weather on usage trends. It is particularly useful for practicing data analysis, model building, and reporting on energy efficiency strategies. Please note that all data in this collection is synthetic, designed for training and development purposes.",
    "domain": "energy",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "energy consumption",
      "weather data",
      "carbon footprint",
      "scheduling",
      "efficiency",
      "analytics"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "energy_consumption": {
        "description": "This table records the electricity consumption for different facilities over time. Each row links to a specific facility and indicates the amount of energy consumed during a defined time period.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each consumption record."
          },
          "facility_id": {
            "kind": "fk",
            "ref": "facilities.id",
            "description": "References the facility for which energy consumption is recorded."
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "The date and time for the recorded energy consumption.",
            "dayProfile": "waking"
          },
          "consumption_kwh": {
            "kind": "decimal",
            "min": 0,
            "max": 1000,
            "scale": 2,
            "description": "Total energy consumed in kilowatt-hours.",
            "distribution": "long-tail"
          }
        }
      },
      "facilities": {
        "description": "This table contains information about the facilities being monitored. Each facility can be a residential or commercial property.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each facility."
          },
          "name": {
            "kind": "fullName",
            "description": "The name of the facility.",
            "nullable": true,
            "when": {
              "column": "type",
              "in": [
                "residential"
              ]
            }
          },
          "type": {
            "kind": "enum",
            "values": [
              "residential",
              "commercial"
            ],
            "description": "Type of facility.",
            "weights": [
              7,
              3
            ]
          },
          "location": {
            "kind": "city",
            "description": "City where the facility is located.",
            "nullable": true,
            "when": {
              "column": "type",
              "in": [
                "commercial"
              ]
            }
          }
        }
      },
      "weather_data": {
        "description": "This table captures weather conditions at the time of energy consumption, allowing for analysis of how weather affects energy usage.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each weather record."
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Date and time of the weather observation."
          },
          "temperature_c": {
            "kind": "decimal",
            "min": -30,
            "max": 50,
            "scale": 1,
            "description": "Temperature in degrees Celsius.",
            "distribution": "normal"
          },
          "humidity": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 1,
            "description": "Humidity percentage.",
            "distribution": "normal"
          }
        }
      },
      "consumption_schedules": {
        "description": "This table holds preferred consumption schedules for facilities, indicating optimal times for energy usage to promote efficiency.",
        "rows": {
          "per": "facilities",
          "via": "facility_id",
          "min": 1,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each schedule."
          },
          "facility_id": {
            "kind": "fk",
            "ref": "facilities.id",
            "description": "References the facility for which the schedule is created."
          },
          "preferred_start_time": {
            "kind": "time",
            "from": "00:00:00",
            "to": "23:59:59",
            "description": "Preferred start time for energy consumption."
          },
          "preferred_end_time": {
            "kind": "time",
            "from": "00:00:00",
            "to": "23:59:59",
            "description": "Preferred end time for energy consumption."
          }
        }
      },
      "carbon_footprint": {
        "description": "This table details the carbon footprint associated with different energy sources used by the facilities.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each carbon footprint record."
          },
          "energy_source": {
            "kind": "enum",
            "values": [
              "coal",
              "natural_gas",
              "renewable"
            ],
            "description": "Type of energy source.",
            "weights": [
              5,
              4,
              6
            ]
          },
          "co2_per_kwh": {
            "kind": "decimal",
            "min": 0,
            "max": 1,
            "scale": 4,
            "description": "Carbon dioxide emissions in kg per kWh of energy produced.",
            "nullable": true,
            "when": {
              "column": "energy_source",
              "in": [
                "renewable"
              ]
            },
            "distribution": "normal"
          }
        }
      },
      "energy_efficiency_programs": {
        "description": "This table lists energy efficiency programs that facilities can participate in to reduce consumption and carbon footprint.",
        "rows": {
          "per": "facilities",
          "via": "facility_id",
          "min": 0,
          "max": 2,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each program."
          },
          "facility_id": {
            "kind": "fk",
            "ref": "facilities.id",
            "description": "References the facility participating in the program."
          },
          "program_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Name of the energy efficiency program.",
            "pool": [
              "savings",
              "renewable",
              "efficiency",
              "audit",
              "upgrade",
              "conservation",
              "incentive",
              "rebate",
              "solar",
              "insulation",
              "lighting",
              "smart",
              "monitoring",
              "retrofit",
              "assessment",
              "installation",
              "performance",
              "grid",
              "management",
              "consultation",
              "optimization"
            ]
          },
          "participation_start_date": {
            "kind": "date",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Date when the facility began participating in the program.",
            "nullable": true,
            "trend": "growing"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "monetary",
      "categorical",
      "nullable"
    ],
    "analysisQuestions": [
      "What are the peak hours for energy consumption in residential areas?",
      "How does temperature affect energy usage patterns?",
      "Which facilities show the greatest improvement in energy efficiency?",
      "What is the carbon footprint of different energy sources used by facilities?",
      "How do energy efficiency programs impact overall consumption?"
    ],
    "suggestedQueries": [
      {
        "title": "Join energy consumption with facilities",
        "sql": "SELECT ec.timestamp, ec.consumption_kwh, f.name FROM energy_consumption ec JOIN facilities f ON ec.facility_id = f.id;",
        "dialect": "postgres"
      },
      {
        "title": "Average consumption by facility type",
        "sql": "SELECT f.type, AVG(ec.consumption_kwh) AS avg_consumption FROM energy_consumption ec JOIN facilities f ON ec.facility_id = f.id GROUP BY f.type;",
        "dialect": "postgres"
      },
      {
        "title": "Weather impact on energy consumption",
        "sql": "SELECT wd.timestamp, AVG(ec.consumption_kwh) AS avg_consumption FROM energy_consumption ec JOIN weather_data wd ON ec.timestamp = wd.timestamp GROUP BY wd.timestamp ORDER BY wd.timestamp;",
        "dialect": "postgres"
      },
      {
        "title": "Carbon footprint comparison",
        "sql": "SELECT energy_source, AVG(co2_per_kwh) AS avg_carbon_footprint FROM carbon_footprint GROUP BY energy_source;",
        "dialect": "postgres"
      },
      {
        "title": "Facilities participating in efficiency programs",
        "sql": "SELECT f.name, e.program_name FROM facilities f JOIN energy_efficiency_programs e ON f.id = e.facility_id;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Energy Analysts",
        "body": "Energy analysts can use this dataset to study consumption patterns and identify which facilities are most efficient or inefficient. By correlating energy use with weather data, they can generate insights that help in formulating strategies for energy savings."
      },
      {
        "title": "Facility Managers",
        "body": "Facility managers can leverage this dataset to create reports on energy consumption trends specific to their properties. With access to the consumption schedules and carbon footprints, they can make informed decisions regarding energy sourcing and efficiency improvements."
      },
      {
        "title": "Policy Makers",
        "body": "Policy makers can utilize this data to evaluate the effectiveness of energy efficiency programs across different facilities. By examining the impact of these programs on consumption and carbon emissions, they can develop policies that promote sustainable energy practices."
      },
      {
        "title": "Researchers",
        "body": "Researchers in the field of environmental science can analyze the relationship between energy consumption and weather conditions. This dataset provides a rich source of information for studies aimed at understanding how external factors influence energy usage and the associated carbon footprint."
      }
    ]
  },
  "counts": {
    "carbon_footprint": 50,
    "facilities": 100,
    "consumption_schedules": 153,
    "energy_consumption": 500,
    "energy_efficiency_programs": 58,
    "weather_data": 500
  },
  "stats": {
    "energy_consumption": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "facility_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 500,
          "min": "2022-01-04 09:36:18",
          "max": "2023-12-31 21:42:11"
        },
        "consumption_kwh": {
          "nulls": 0,
          "distinct": 498,
          "min": 0,
          "max": 998.95
        }
      }
    },
    "facilities": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "name": {
          "nulls": 30,
          "distinct": 69,
          "min": "Amir Tanaka",
          "max": "Zoe Gomez"
        },
        "type": {
          "nulls": 0,
          "distinct": 2,
          "min": "commercial",
          "max": "residential"
        },
        "location": {
          "nulls": 70,
          "distinct": 21,
          "min": "Barcelona",
          "max": "Zurich"
        }
      }
    },
    "weather_data": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 500,
          "min": "2022-01-01 07:32:20",
          "max": "2023-12-28 22:59:04"
        },
        "temperature_c": {
          "nulls": 0,
          "distinct": 307,
          "min": -22.2,
          "max": 42.8
        },
        "humidity": {
          "nulls": 0,
          "distinct": 331,
          "min": 10.7,
          "max": 92.4
        }
      }
    },
    "consumption_schedules": {
      "rows": 153,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 153,
          "min": 1,
          "max": 153
        },
        "facility_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "preferred_start_time": {
          "nulls": 0,
          "distinct": 153,
          "min": "00:00:03",
          "max": "23:56:36"
        },
        "preferred_end_time": {
          "nulls": 0,
          "distinct": 153,
          "min": "00:06:31",
          "max": "23:49:45"
        }
      }
    },
    "carbon_footprint": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "energy_source": {
          "nulls": 0,
          "distinct": 3,
          "min": "coal",
          "max": "renewable"
        },
        "co2_per_kwh": {
          "nulls": 31,
          "distinct": 19,
          "min": 0.2797,
          "max": 0.79
        }
      }
    },
    "energy_efficiency_programs": {
      "rows": 58,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 58,
          "min": 1,
          "max": 58
        },
        "facility_id": {
          "nulls": 0,
          "distinct": 40,
          "min": 1,
          "max": 100
        },
        "program_name": {
          "nulls": 0,
          "distinct": 51
        },
        "participation_start_date": {
          "nulls": 5,
          "distinct": 52,
          "min": "2022-02-09",
          "max": "2023-12-30"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/carbon_footprint.csv",
      "format": "csv",
      "table": "carbon_footprint",
      "key": "datasets/energy-consumption-tracker/v3/csv/carbon_footprint.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/csv/carbon_footprint.csv",
      "bytes": 828,
      "sha256": "7a980540ad9605256c498b9af78072ff2329b4d59873495bbb149714e828025e",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/facilities.csv",
      "format": "csv",
      "table": "facilities",
      "key": "datasets/energy-consumption-tracker/v3/csv/facilities.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/csv/facilities.csv",
      "bytes": 2741,
      "sha256": "d7c64f7f1e75893a858379388493d1c6d3c1642d6d5cdec02b7bb000b5e1018d",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/consumption_schedules.csv",
      "format": "csv",
      "table": "consumption_schedules",
      "key": "datasets/energy-consumption-tracker/v3/csv/consumption_schedules.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/csv/consumption_schedules.csv",
      "bytes": 3914,
      "sha256": "7e159b8c9f75a2bc780a2e2217897e78592f450f112fbb316fe93f20248c259a",
      "rows": 153,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/energy_consumption.csv",
      "format": "csv",
      "table": "energy_consumption",
      "key": "datasets/energy-consumption-tracker/v3/csv/energy_consumption.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/csv/energy_consumption.csv",
      "bytes": 17181,
      "sha256": "443dff9d45300a2e04979bf9fb2b15c971d551c4a29f2606ad0b5408561d4b42",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/energy_efficiency_programs.csv",
      "format": "csv",
      "table": "energy_efficiency_programs",
      "key": "datasets/energy-consumption-tracker/v3/csv/energy_efficiency_programs.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/csv/energy_efficiency_programs.csv",
      "bytes": 2077,
      "sha256": "812c38afb8c185324c28b04ba3b3c91012672203fcb5184944f6d8033309fd45",
      "rows": 58,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/weather_data.csv",
      "format": "csv",
      "table": "weather_data",
      "key": "datasets/energy-consumption-tracker/v3/csv/weather_data.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/csv/weather_data.csv",
      "bytes": 17309,
      "sha256": "04999325abf018aa30bfa21e0c36c3604a0a9498f6e989fd536a93c36e4bef75",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "energy-consumption-tracker.json",
      "format": "json",
      "table": null,
      "key": "datasets/energy-consumption-tracker/v3/energy-consumption-tracker.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/energy-consumption-tracker.json",
      "bytes": 170137,
      "sha256": "f58b665039bd5b1f9a0273086eedac5b82a679cf5f18a120e0f396ba69143a8f",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/energy-consumption-tracker/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/sql/postgres.sql",
      "bytes": 63459,
      "sha256": "b393df6c053c61995e8c599694c50a3417bb2f00bb74dcb6c2fb51e5621f4f33",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/energy-consumption-tracker/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/sql/mysql.sql",
      "bytes": 62696,
      "sha256": "c94daaa0c4eb73c2fa8d9ef8221f5d66ec82a16ae110a2402b07e7fe6bd93c43",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/energy-consumption-tracker/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/sql/mssql.sql",
      "bytes": 64846,
      "sha256": "0d686aeb99d30071903b53a22c5ae06a849db090b96d69868627b99178caa2a3",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/energy-consumption-tracker/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/sql/sqlite.sql",
      "bytes": 62444,
      "sha256": "5288cade7739d33b8f5af3cfa4244d33b08afab705407bec57716c86978054d1",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/energy-consumption-tracker/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/prisma/seed.ts",
      "bytes": 147738,
      "sha256": "031508152c01f00cbda40531f8cc1707922ce39de92cee202613a37a070b6402",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/energy-consumption-tracker/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-consumption-tracker/v3/django/fixtures.json",
      "bytes": 242292,
      "sha256": "d945b10e4883e44cfdaeb3b1deb681b8fc82a436f5ea2e9e3c492bb627cb27ff",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767868645,
  "updatedAt": 1788783696719
}
