diff --git a/scripts/morningupdate b/scripts/morningupdate index ebfd6a6cfb..122aa31aee 100755 --- a/scripts/morningupdate +++ b/scripts/morningupdate @@ -51,6 +51,14 @@ system "./xml2db.pl $cronquiet --recent --standing --quiet"; system "./xml2db.pl $cronquiet --recent --lmqs --quiet"; system "python3 ./future-fetch.py"; +# Update division names from Parliament +print "Updating division names\n" if $verbose; +system "./division_io.py update-from-commons-votes" . ($verbose ? " --verbose" : ""); + +# Export divisions to parquet +print "Exporting divisions to parquet\n" if $verbose; +system "./division_io.py export-division-data" . ($verbose ? " --verbose" : ""); + $cronquiet = substr($cronquiet, 2) if $cronquiet; ## Xapian Stuff.