Download data as a CSV from https://1915crewlists.rmg.co.uk e.g. https://1915crewlists.rmg.co.uk/document/189083
Requires python3 and the following libraries:
pip3 install -r requirements.txt
To download a crew list data from a page as a CSV you can use the following script:
Usage:
python3 page2csv.py [doc_id] [optional output_file.csv]
Where doc_id
is the last number in the 1915 Crew lists site e.g.:
By default the output file is data/{doc_id}.csv
but you can provide a parameter to specify a different directory