Skip to content

Commit

Permalink
update README regarding CSV Dialect
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch authored Nov 30, 2017
1 parent 4efb9c3 commit 917e4fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ $table = new Table("tests/fixtures/data.csv");
$table->schema()->fields(); // ["first_name" => StringField, "last_name" => StringField, "order" => IntegerField]
```

Optionally, specify a [CSV Dialect](https://frictionlessdata.io/specs/csv-dialect/):

```php
$table = new Table("tests/fixtures/data.csv", null, ["delimiter" => ";"]);
```

Additional methods and functionality

```php
Expand Down

0 comments on commit 917e4fc

Please sign in to comment.