Skip to content

A class to match cleaned column headings on an imported CSV to known column headings

License

Notifications You must be signed in to change notification settings

gordonmurray/match-import-headings

Repository files navigation

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 )

About

A class to match cleaned column headings on an imported CSV to known column headings

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages