Fixed composer, readme

This commit is contained in:
Chris 2022-09-03 16:19:44 +02:00
parent cad2cc84c7
commit b01163cb1e
2 changed files with 27 additions and 1 deletions

22
README.md Normal file
View File

@ -0,0 +1,22 @@
# Calendar related datasets
This package contains calendar related data that can be imported into any application.
## Datasets
Name | Contents
---|---
`bankholidays.se` | Swedish bank holidays
## Usage
Open the dataset and iterate the data:
```php
$dm = new NoccyLabs\Dataset\DatasetManager();
$ds = $dm->openDataset("noccylabs/dataset-calendar#bankholidays.se");
// Iterate the records
foreach ($ds as $row) {
// ...
}
```

View File

@ -1,4 +1,8 @@
{
"name": "noccylabs/dataset-calendar",
"description": "Dataset containing bank holidays and other calendar info"
"description": "Dataset containing bank holidays and other calendar info",
"license": "CC-BY-SA-4.0",
"suggest": {
"noccylabs/dataset": "to parse the dataset"
}
}