Here’s how to publish your tabular data as Tabular Data Packages. There are 4 simple steps:
datapackage.jsonfile to hold some information about the data package and the data in it e.g. a title, who created it, how other people can use it (licensing), etc
We’ll assume you know how to do this!
A CSV is a really common and simple file format for storing a (single) table of data (for example, a single sheet in a spreadsheet). If you’ve got more than one table you can save multiple CSV files, one for each for table.
Put the CSV files in the directory you created - we suggest putting them in a subdirectory called data so that your base directory does not get too cluttered up.
You can produce CSV files from almost any application that handles data including spreadsheets like Excel and databases like MySQL or Postgresql.
You can find out more about CSVs and how to produce them by taking a look at the dedicated CSV page or by doing a quick search online for CSV + the name of your tool.
datapackage.json is a small file in JSON format that gives a bit of
information about your dataset. You’ll need to create this file and then place
it in the directory you created.
There are three options for creating the
Option 1: Use the online datapackage.json creator tool - just answer a few questions and give it your data files and it will spit out a datapackage.json for you to include in your project
Option 3:* Use our Data Package Manager tool for the command line if you are comfortable with that interface (requires node.js).
Pay special attention to the scripts directory (and look at the commit logs!)