22 lines
842 B
Markdown
22 lines
842 B
Markdown
TODO:
|
|
|
|
Downstream scripts need to be updated to use the `newcountyoutages` table instead of the old `countyoutages` table.
|
|
|
|
Key changes:
|
|
1. Table name is now `newcountyoutages`.
|
|
2. The `update` column has been renamed to `fetch_time`.
|
|
|
|
Affected scripts:
|
|
- `powersum.py`: Needs to be updated to query `newcountyoutages` and use `fetch_time`.
|
|
- `powercounty.py`: This script is deprecated and should be removed. All its functionality is replaced by `newpower.py`.
|
|
|
|
---
|
|
|
|
The point-based scraper `power2.py` has been refactored into `newpower2.py`.
|
|
|
|
Key changes:
|
|
1. The `power` table is now deprecated in favor of the `newpower` table.
|
|
2. The `start` column has been renamed to `start_time`.
|
|
3. The `lastchange` column has been renamed to `last_change`.
|
|
4. A new `fetch_time` column has been added to track when the record was scraped.
|