This section of the DataHub documentation is for data publishers. Here you can learn about getting your data ready for loading into DataHub, and how you can interact with your data once it is loaded.
- Publishing a Data Package
Publishing a Data Package
Sign up & get a secret key
You can sign up using your GitHub account. Once you are signed in, you will be redirected to a dashboard, where you can find your secret key (access token).
Install command line tool
Next you need to install dpm - the data package manager command line tool:
$ [sudo] pip install git+https://github.com/frictionlessdata/dpm-py.git
You will need the secret key (access token) to set your configurations:
$ dpm configure > Username: << your user name >> > Your access_token: << you secret key >> > Server URL: https://www.datapackaged.com
Note: server URL may vary depending on application development stage
Publish a dataset
We assume you know what a Data Package is.
Go to a directory where your data package is located and publish it:
$ cd your-data-package-directory/ $ dpm publish
View it online
Once your data package is successfully published, you will get an URL to your dataset on the website. Open the URL in your favourite browser and explore it.