Skip to content

Commit

Permalink
Update morningupdate with new ins and outs
Browse files Browse the repository at this point in the history
 - IN - division titles from Parliament where they exist
 - OUT - a dump of the divisions table (for twfy-votes).
  • Loading branch information
ajparsons committed Feb 12, 2024
1 parent b8a52db commit e0059ae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/morningupdate
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e0059ae

Please sign in to comment.