Search…
Submit Datasets with CLI

CLI

If you can improve this process, click the link in the upper right to Edit on GitHub and make a PR!
  1. 2.
    Fork the project to your DoltHub account (you will need to create an account if you don't have one).
  2. 3.
    Clone down your copy of the repository.
    1
    dolt clone <your account name>/datasets && cd datasets
    2
    dolt table export datasets > datasets.csv
    Copied!
  3. 4.
    Open the datasets.csv file, make changes, and save. Leave id blank—UUIDs are generated automatically. Make sure you're not adding a URL that already exists.
    1
    dolt branch <branch name e.g. add-CA-counties>
    2
    dolt checkout <your branch>
    3
    dolt table import -u datasets datasets.csv
    Copied!
  4. 5.
    Run this command to add your csv to your checked out branch.
    1
    dolt add .
    Copied!
  5. 6.
    Push the commit.
    1
    dolt commit -m “<message e.g. added 5 Alameda County datasets>”
    2
    dolt push --set-upstream origin <your branch>
    Copied!
  6. 8.
    Create a new Pull Request to merge your dataset into master. Select your fork as the from repository, and then your branch will appear as an option. Read more about DoltHub Pull Requests here.
Copy link
Edit on GitHub