most_recent_snapshot (view)
4 rows
This data as json, CSV (advanced)
id | latitude | longitude | outage | estCustAffected | cluster | cause | crewCurrentStatus | comments | outage_url | currentEtor |
---|---|---|---|---|---|---|---|---|---|---|
1732169332:24157817 | 37.73559 | -84.13191 | 24157817 | 4 | 0 | Working to determine cause | This estimated time of restoration is based upon the time it usually takes to restore service for the type of outage reported. We will continue to update the estimate as more information becomes available. Please check back for updates. | https://lgeku-outages.herokuapp.com/outages/outages/24157817 | ||
1732169332:24157813 | 38.11059 | -85.76028 | 24157813 | 4 | 0 | Working to determine cause | This estimated time of restoration is based upon the time it usually takes to restore service for the type of outage reported. We will continue to update the estimate as more information becomes available. Please check back for updates. | https://lgeku-outages.herokuapp.com/outages/outages/24157813 | ||
1732169332:24046886 | 38.07617 | -84.48941 | 24046886 | 4 | 0 | Working to determine cause | This estimated time of restoration is based on an evaluation of the situation by our technicians. | https://lgeku-outages.herokuapp.com/outages/outages/24046886 | ||
1732169332:24157816 | 38.26807 | -85.78485 | 24157816 | 37 | 0 | Working to determine cause | This estimated time of restoration is based on an evaluation of the situation by our technicians. | https://lgeku-outages.herokuapp.com/outages/outages/24157816 |
Advanced export
JSON shape: default, array, newline-delimited
CREATE VIEW most_recent_snapshot as select outage_snapshots.id, latitude, longitude, outage, estCustAffected, cluster, cause.name as cause, crewCurrentStatus.name as crewCurrentStatus, comments.name as comments, 'https://lgeku-outages.herokuapp.com/outages/outages/' || outage as outage_url, currentEtor from outage_snapshots left join cause on outage_snapshots.cause = cause.id left join comments on outage_snapshots.comments = comments.id left join crewCurrentStatus on outage_snapshots.crewCurrentStatus = crewCurrentStatus.id where snapshot in (select id from snapshots order by id desc limit 1);