docstr: Obtains the data from Aequitas repository.
docstr_tok: ["Obtains","the","data","from","Aequitas","repository","."]
code: def _download_data(self) -> None:
      """Obtains the data from Aequitas repository."""
      self.logger.info("Downloading folktables data from repository.")
      for split in ["train", "validation", "test"]:
          check_path = (
              Path(self.path)
              / f"{self.variant}.{split}.{self.extension}"
          )
          if not check_path.exists():
              dataset_url = (
                  DEFAULT_URL
                  + f"{self.variant}.{split}.{self.extension}"
              )
              self.logger.debug(f"Downloading from {dataset_url}.")
              r = requests.get(dataset_url)
              os.makedirs(check_path.parent, exist_ok=True)
              with open(check_path, "wb") as f:
                  f.write(r.content)
      self.logger.info("Downloaded data successfully.")
  
file_path: aequitas/src/aequitas/fairflow/datasets/folktables.py
imports: import os
  from pathlib import Path
  from typing import Any, Optional, Union
  import pandas
  import requests
  from validators import url
  from ..utils import LabeledFrame, create_logger
  from .dataset import Dataset
label_desc: Use image node_id 5 for calling the FolkTables obj's underlying member method code with example usage: obj._download_data() without return types