Skip to content

MrSunshyne/mauritius-dataset-electricity

Repository files navigation

Mauritius Dataset for Electricity

ProjectImage

Dataset

The aim is to provide a hassle-free way to use the data to build applications.

Additional views:

Example applications

Disclaimers

  • The maintainer of this repository is NOT affiliated with the CEB.
  • The data is automatically fetched from the CEB website but not provided directly by them.
  • The page from which the data is fetched is publicly available.
  • The data is fetched at a rate of Once per hour betwee 6AM -6PM. ( i assume nobody updates their site after working hours)
  • The data is made available here under fair use.

FAQ

Why not use the CEB website directly?
  • Although the data is available publicly and for free, it is not in a suitable open format that would enable developers or students to build applications reliably

  • I encourage you to use the CEB website if you wish to

In which format is the data provided?
  • JSON
  • The shape is as follows:
{
  "district_name": [
    {
        "date": string, // "Le dimanche 13 mars 2022 de  09:30:00 à  13:00:00",
        "locality": string, // "TAMARIN",
        "streets": string, // "AVE DES MARLINS, AVE DES CAMPECHES, AVE DES BONITES ET UNE PARTIE DE BLACK ROCK ROAD",
        "district": string, // "blackriver",
        "from": string, // "2022-03-13T05:30:00.000Z" (ISO 8601 UTC),
        "to": string, // "2022-03-13T09:00:00.000Z" (ISO 8601 UTC),
        "id": string, // Legacy identifier (MD5 hash of raw data),
        "outageId": string // Stable identifier (MD5 hash of district+locality+start_time)
    },
    {
        ...
    }
  ]
}

Note about identifiers:

  • id: Legacy field, may change if CEB updates outage information. Use for backwards compatibility.
  • outageId: Stable identifier that remains consistent even if CEB updates the outage times. Use for reliable outage tracking and deduplication.

About

The aim is to provide a hassle-free way to use the data to build applications to show close-to-realtime power-outage info in Mauritius

Topics

Resources

Stars

Watchers

Forks

Contributors