Skip to content

Files

Latest commit

 

History

History
47 lines (36 loc) · 1.05 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.05 KB

Match CSV Import headings

Build Status Coverage Status

A class to match cleaned column headings on an imported CSV to known column headings. Headings are matched based on direct text match and known synonyms.

column headings before:

'fname','middle name','surname','birth date','position','orgname'

column headings after:

Array ( [value] => fname [match] => first name )

Array ( [value] => middle name [match] => middle name )

Array ( [value] => surname [match] => last name )

Array ( [value] => birth date [match] => date of birth )

Array ( [value] => position [match] => job position )

Array ( [value] => orgname [match] => organisation )