diff --git a/README.md b/README.md index b7295bb..8881af4 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,9 @@ You can now open the desired sets and do useful stuff with the data: use NoccyLabs\Dataset\DatasetManager; $dm = new DatasetManager(); -$flavorsSet = $dm->getDataset("juicebox/flavordata/flavors"); +$ds = $dm->getDataset("juicebox/flavordata#flavors"); -$iter = $flavorsSet->filter([ 'brand' => 'fa' ]); -foreach ($iter as $row) { - echo $row->get("flavor", "No flavor name? How?!") . "\n"; +foreach ($ds as $row) { + // row is an array } ```