data-package-examples
A place to experiment with data packages
Each data package is in its own directory with a structure
my-data-package-directory
|
|- data
| |
| |- my-data.csv
| |- more-data.csv
|
|- datapackage.json
|- README.md
Data packages:
- were originally produced by Data Curator unless noted in the
README.md
for that data package - may have been hand-edited if Data Curator produced incorrect result. The difference between the original and hand-edited version will help improve Data Curator
- follow the Frictionless Data specification
- are automatically validated by Goodtables.io
Adding a data package
On your computer:
- create a data package using Data Curator (it's best if the data package
name
is unique across this repository) - use the
Export Data Package
command to create adatapackage.zip
- rename
datapackage.zip
to my-data-package-name.zip - unzip the files
- add all the files to this repository
- update goodtables.yml to include the data package in the automatic validation
Add Goodtables.io validation
- Collectively the data packages in this repository are:
- If the data is not valid, get details of the errors at goodtables.io
- the validation performed is controlled by goodtables.yml
- It would be nice to have individual badges for each data package
View a data package
- Go to Data Package Viewer and enter the url of one of the
datapackage.json
files - here's an example
Publish a data package to datahub.io
- Use data-desktop to install datahub-cli
- use the following commands to publish to datahub.io (docs, blog)
$ cd my-data-package-directory
$ data push