A VFP class to process CSV files.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
.gitignore
DOCUMENTATION.md
README.md
UNLICENSE.md
csv.prg
examples.md
pem.md

README.md

CSVProcessor

A VFP class to process CSV files.

Overview

  • Imports data from CSV files
  • Automatically generates a cursor (or a table in a database)
  • Appends to existing cursor
  • Field mapping and filtering
  • Also accepts headerless CSV files
  • Reads Memo-like fields, including multiline fields
  • Also detects Integer, Double, Logical, Varchar(), Date, and Datetime data
  • Date and Datetime source data defined by format patterns
  • Sensitive to UNICODE encodings (LittleEndian, BigEndian, and UTF-8)
  • Exports to CSV files using the same import settings

Using

  • See UNLICENSE.
  • In a project, include csv.prg and its dependencies
  • DO LOCFILE('csv.prg') to put the class in scope
  • Create an object, and use it (see DOCUMENTATION for more info).

Dependencies

  • CSVProcessor depends on the Namer class.

Contributing

  • Test, use, fork, improve.
  • Review, suggest, and comment.

To-Do

  • ...

Talk, talk, talk...