Bundles static data as composer dependencies
Go to file
Chris 8d6c1800b9 Cleanup, bugfixes 2022-10-30 23:02:14 +01:00
bin Cleanup, bugfixes 2022-10-30 23:02:14 +01:00
example Initial commit 2022-09-03 02:28:03 +02:00
src Cleanup, bugfixes 2022-10-30 23:02:14 +01:00
.gitignore Initial commit 2022-09-03 02:28:03 +02:00
LICENSE Initial commit 2022-09-03 02:28:03 +02:00
README.md Fixed readme 2022-09-03 16:23:46 +02:00
composer.json Added bin to list datasets 2022-10-30 18:38:43 +01:00

README.md

Dataset Library for PHP/Composer

This is a library for loading datasets from bundled packages.

Example

Require Dataset, and some actual datasets:

$ composer require noccylabs/dataset juicebox/flavordata

You can now open the desired sets and do useful stuff with the data:

use NoccyLabs\Dataset\DatasetManager;

$dm = new DatasetManager();
$ds = $dm->getDataset("juicebox/flavordata#flavors");

foreach ($ds as $row) {
    // row is an array
}