{"id":15433136,"url":"https://github.com/simonw/pge-outages","last_synced_at":"2025-04-14T17:44:01.466Z","repository":{"id":220887290,"uuid":"752806463","full_name":"simonw/pge-outages","owner":"simonw","description":"Tracking PG\u0026E power outages","archived":false,"fork":false,"pushed_at":"2025-04-14T17:29:17.000Z","size":22731,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T17:43:58.838Z","etag":null,"topics":["git-scraping"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"simonw"}},"created_at":"2024-02-04T21:07:18.000Z","updated_at":"2025-04-14T17:29:20.000Z","dependencies_parsed_at":"2024-03-17T02:21:31.613Z","dependency_job_id":"30c6c293-87ef-4fb2-9da1-6905e087f25a","html_url":"https://github.com/simonw/pge-outages","commit_stats":{"total_commits":9339,"total_committers":2,"mean_commits":4669.5,"dds":"0.0011778563015312216","last_synced_commit":"7eea5e983897957bb965f536e4e3b9c682c76086"},"previous_names":["simonw/pge-outages"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fpge-outages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fpge-outages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fpge-outages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fpge-outages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonw","download_url":"https://codeload.github.com/simonw/pge-outages/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248930168,"owners_count":21184970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git-scraping"],"created_at":"2024-10-01T18:32:00.213Z","updated_at":"2025-04-14T17:44:01.434Z","avatar_url":"https://github.com/simonw.png","language":null,"funding_links":["https://github.com/sponsors/simonw"],"categories":[],"sub_categories":[],"readme":"# pge-outages\n\nThis repository tracks outages reported on the [PG\u0026E outages map](https://pgealerts.alerts.pge.com/outage-tools/outage-map/) over time, using [Git scraping](https://simonwillison.net/2020/Oct/9/git-scraping/).\n\nThis repository started tracking outages on 4th February 2024. The implementation of the scraper can be found in [.github/workflows/fetch.yml](https://github.com/simonw/pge-outages/blob/main/.github/workflows/fetch.yml) - it uses a combination of `curl` and `jq`.\n\nThe most recently tracked outages are in [outages.json](https://github.com/simonw/pge-outages/blob/main/outages.json). The [commit history](https://github.com/simonw/pge-outages/commits/main/outages.json) of that file shows outages recorded over time.\n\nA previous version of this repository ran from from 2019 to 2022. That data can now be found in [simonw/pge-outages-pre-2024](https://github.com/simonw/pge-outages-pre-2024/)\n\n## Incomplete data warning\n\nThis repository only archives outages that are reported for a single location.\n\nThe outage map also includes polygon data, which is much more interesting... but has not proven practical to archive here, for [reasons explained in this issue comment](https://github.com/simonw/pge-outages/issues/4#issuecomment-1928758853). Short version: I'd have to constantly archive 100MB of data per snapshot because the polygons are so large!\n\n## Browsing the latest data in Datasette Lite\n\nUse this URL to open the latest `outages.json` in [Datasette Lite](https://github.com/simonw/datasette-lite):\n\nhttps://lite.datasette.io/?json=https://github.com/simonw/pge-outages/blob/main/outages.json#/data/outages?_facet=CITY\u0026_facet=OUTAGE_CAUSE\u0026_facet=CREW_CURRENT_STATUS\u0026_facet=OUTAGE_EXTENT\n\nIt will look something like this:\n\n![Screenshot of Datasette Lite, faceting 674 outages by city, cause, crew current status and outage extent](https://github.com/simonw/pge-outages/assets/9599/ac0999f2-349a-4db7-a005-2ba42133dde0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fpge-outages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonw%2Fpge-outages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fpge-outages/lists"}