Packaging your Data
You can package any kind of data as a Data Package.
- Get your data together
- Get your data together in one folder (you can have data in subfolders of that folder too if you wish).
- Add a
datapackage.json
file to package those data files into a useful whole (with key information like the license, title and format)- The 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.
- Don’t worry if you don’t know what JSON is - we provide some tools that can automatically create your this file for you.
- There are 2 options for creating the datapackage.json:
- Use the Data Package Creator (opens new window)) 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
- Use the Python (opens new window), JavaScript (opens new window), PHP (opens new window), Julia (opens new window), R (opens new window), Clojure (opens new window), Java (opens new window), Ruby (opens new window) or Go (opens new window) libraries for working with data packages.
- Use the Data Package Creator (opens new window)) tool
Recommended reading: Find out how to use Frictionless Data software to improve your data publishing workflow in our new and comprehensive Frictionless Data Field Guide.