Refactor to improve readability to an acceptable level
Code quality was not a priority during the initial development and will now have to get some attention.
I imagine it must be possible to have a piece of code similar to this:
public void process_csv(URL url) {
var raw_content = download_csv(url);
save_to_disc(url);
var parsed_content = parse_csv(raw_content);
var info_from_graphdb = update_graphdb(head(parsed_content));
update_pid_registry(info_from_graphdb);
// as soon as influx import is merged:
update_influxdb(parsed_content);
}