Please consider this small change in the code

Hello Janne,

I have made a small modification in the script in the first split (line 62) in order to split the lines only by the semicolons that are at the end of line.

It happens that the Spanish Government provides some data with a semicolon in the descriptions and your script didn't work :(

I've tried the modification with your example data and seems to be OK.

May be you can test the modification with other files in order to check that the change doesn't break anything and then consider accepting the Request.

Thank you very much for the code and for making it public.

Bests regards,

Pedro-Juan