Download rows directly with API

Hi guys,

I would like to download the rows directly using API in this dataset and store it into my own dataset.

Is there a step by step guide for reference?

Thank you in advance

Nic

hi @nlimm
I think this is what you are looking for:

from datasets import load_dataset

dataset = load_dataset("umarbutler/open-australian-legal-corpus")
dataset.push_to_hub("your_username/repo_name")