Am looking for a script which can insert lab data into the database.
Lab devices produce data that is directly stored in text files. The format differs for each device and is not ideal for direct database import. i need a code which is
- Is easily maintainable
- Is very transparent in that it can be easily followed (well commented)
- Contains quality checks that can produce error codes
- Can directly import the parsed data into a MySQL database
- Is independent of the order of text file content (ie. position of a header, line number of header etc.)
- Uses regular expressions (will help with quality checks)
- Runs fast
Thank you.