• It's going to be tricky for a newbie, because the data seems to vary by 'type' and some techniques are required to get you through that.

    Do you know what your intended output columns are? Do they vary by record type?