Console script for initialising staging table

I'd like to move this into a `console_script` at some point but wanted to make sure we weren't relying on this anywhere first.