Tom Russell
af54a67051
Fix lints
2023-08-15 14:10:19 +01:00
Maciej Ziarkowski
c997654545
Add debug, no overwrite flags
2020-06-16 16:16:46 +01:00
Maciej Ziarkowski
e2b94cfe2e
Move to argparse for command line options
2020-06-16 13:27:08 +01:00
Maciej Ziarkowski
cd74ff6f32
Add retrying logic
2020-06-16 13:24:43 +01:00
Tom Russell
055ed426b4
Merge branch 'master' into fix/upload
2020-04-09 10:19:13 +01:00
Maciej Ziarkowski
82a50d77d6
Allow specifying JSON columns for CSV bulk import
2019-12-10 17:25:55 +00:00
Maciej Ziarkowski
26ca7f8873
Accept CSV with building_id for API data import
2019-12-10 17:16:26 +00:00
Tom Russell
f3b9be39bf
Update load_csv python script
...
- use building_id if present in CSV
- print DEBUG even if response from API is 200
- handle empty-string sust_dec (which fails because empty-string isn't a valid
enum value as defined in 011.sustainability.up.sql) by deleting from data
if present
2019-11-21 13:17:17 +00:00
Tom Russell
46ac6c7a40
Fix load_csv script - tested against localhost
2019-10-02 09:43:12 +01:00
Tom Russell
c055bea38b
Add generic CSV upload script (rename load_data to load_shapefile)
2019-09-30 10:39:43 +01:00