---
title: "Datasets Object"
component: "pytigergraph"
version: "1.8"
module: "datasets"
html_url: "/pytigergraph/1.8/datasets/datasets_object"
canonical_url: "https://www.tigergraph.com/docs/pytigergraph/1.8/datasets/datasets_object"
markdown_url: "https://www.tigergraph.com/docs/pytigergraph/1.8/datasets/datasets_object.md"
---

[View as HTML](https://www.tigergraph.com/docs/pytigergraph/1.8/datasets/datasets_object)

# Datasets Object

Stock datasets that can be ingested into a TigerGraph database through the `ingestDataset`function in pyTigerGraph.

## Methods

### _\_init\__()

`_init_(name: str = None, tmp_dir: str = "./tmp") → None`

Stock datasets.

Please see [this link](https://tigergraph-public-data.s3.us-west-1.amazonaws.com/inventory.json)for datasets that are currently available. The files for the dataset with `name` will be downloaded to local `tmp_dir` automatically when this class is instantiated.

#### Parameters:

`name` (str, optional): Name of the dataset to get. Defaults to `None`.

`tmp_dir` (str, optional): Where to store the artifacts of this dataset. Defaults to `"./tmp"`.
