842 B
842 B
TODO:
Downstream scripts need to be updated to use the newcountyoutages table instead of the old countyoutages table.
Key changes:
- Table name is now
newcountyoutages. - The
updatecolumn has been renamed tofetch_time.
Affected scripts:
powersum.py: Needs to be updated to querynewcountyoutagesand usefetch_time.powercounty.py: This script is deprecated and should be removed. All its functionality is replaced bynewpower.py.
The point-based scraper power2.py has been refactored into newpower2.py.
Key changes:
- The
powertable is now deprecated in favor of thenewpowertable. - The
startcolumn has been renamed tostart_time. - The
lastchangecolumn has been renamed tolast_change. - A new
fetch_timecolumn has been added to track when the record was scraped.