phore/datapipes

Data analyzing framework

Installs: 743

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

pkg:composer/phore/datapipes

dev-master 2020-02-20 11:45 UTC

This package is auto-updated.

Last update: 2025-10-21 00:44:53 UTC


README

Reading CSV

$csv = new CsvInput("/path/to/file.csv", ";");
$csv->setIngoreLinesStartingWith(["#"]);
$csv->readHeader();

foreach ($csv->getData() as $row) {
    echo $row["header1"] . $row["header2"];
}

Features:

  • Ingores empty Lines
  • Ingores Comments (optional)
  • Strict mode for checking for column count
  • Reads Header (optional)

DateTime Reading

Parse files on the harddisk for timestamps and bring them into correct order