This guide walks you through how to put data online using data tool and the DataHub.

Using it, you can store your data online safely and securely, get a showcase that provides a visual overview to your data.

Here we focus on tabular data and especially CSV. CSV is a universal basic format for structured data.

You can read and learn about CSV in this post.

Install the data CLI tool

Download and install the data CLI tool using our separate instructions.

Get some CSV data

You’ll need a CSV file to push.

Let’s have a simple CSV file. Create a file in your current directory named mydata.csv and paste the following into it (you can use your own):

A,B,C
1,one,true
2,two,false

Push the data

Putting your data online is now just one simple command:

$ data push mydata.csv

The output will be:

> 🙌 your data is published!

> 🔗 https://datahub.io/username/dataset (copied to clipboard)

Note: by default, findability flag for your dataset is set to unlisted, meaning nobody else is able to see it, except you. Use published flag to make it publicly available

$ data push mydata.csv --published

Your data’s online!

You will see the showcase page with description and preview of the pushed CSV file:

It’s may still be processing and in that case you would see the following:

Just wait for few moments until we process your file.

Once your data is online share the link to it with your colleagues or friends so they can use it in their code! You can find more information about how to use data in our Getting Data tutorial - http://datahub.io/docs/getting-started/getting-data.

If you have questions, comments or feedback join our chat channel or open an issue on our tracker.