I have a process that scrapes personal information about job candidates (First Name, Surname, National Insurance Number) and then scrapes the last three years of their employment history.
The personal information is scraped as a single row. The employment history is then scraped as it’s own datatable and can be multiple rows.
I need to write this to a spreadsheet, one row per candidate.
e.g. Datatables
NINumber, First Name, Surname
AB123456A, Joe, Bloggs
Employer, Date From, Date to
Employer1, From1, To1
Employer2, From2, To2
Desired format:
NINumber, First Name, Surname, Employer1, Date From1, Date to1, Employer2, Date From2, Date to2
AB123456A, Joe, Bloggs, Employer1, From1, To1, Employer2, From2, To2
Hopefully this makes sense. I’ve had a look online but none of the answers seem to match what I need.