Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit authored Jun 13, 2024
1 parent e1b7789 commit 3db3749
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ $ pip install hdxms-datasets


```python
from pathlib import Path
from hdxms_datasets import DataVault

vault = DataVault()
# local path the download datasets to

cache_dir = Path('.cache')

# create a vault with local cache dir, set `remote_url` to connect to a different database
vault = DataVault(cache_dir=cache_dir)

# Download a specific HDX dataset
vault.fetch_dataset("20221007_1530_SecA_Krishnamurthy")
Expand Down

0 comments on commit 3db3749

Please sign in to comment.