docstr: Complete path stitching and download files.
  param chunk_size: Byte size of a single read, preferably an integer multiple of 2.
docstr_tok: ["Complete","path","stitching","and","download","files",".","param","chunk_size",":","Byte","size","of","a","single","read",",","preferably","an","integer","multiple","of","2","."]
code: def get_public_data(self, chunk_size=1024):
      """
      Complete path stitching and download files.
      param chunk_size: Byte size of a single read, preferably an integer multiple of 2.
      """
      assert isinstance(chunk_size, int), "chunk_size must be int."
      if not os.path.exists(self.dir_path):
          os.makedirs(self.dir_path)
  
      # delete existing files.
      if self.redownload:
          try:
              exists_file = os.listdir(self.dir_path)
              _ = [
                  os.remove(os.path.join(self.dir_path, x))
                  for x in exists_file
                  if x in DATASET_NAME[self.name]
              ]
              os.remove(
                  os.path.join(self.dir_path, self.name + "_data.csv")
              )
          except Exception:
              raise OSError(
                  "File download is not completed, you should set redownload=False."
              )
  
      # check local file exists.
      if not os.path.exists(self.final_file_path) and not set(
          DATASET_NAME[self.name]
      ).issubset(set(os.listdir(self.dir_path))):
          if isinstance(BASE_URL[self.name], list):
              for val in self.url:
                  download(val, self.dir_path, chunk_size)
          else:
              download(self.url, self.dir_path, chunk_size)
      return self
  
file_path: analytics-zoo/pyzoo/zoo/chronos/data/utils/public_dataset.py
imports: import os
  import requests
  import tqdm
  import pandas
  from zoo.chronos.data.tsdataset import TSDataset
label_desc: Use image node_id 2 for calling the PublicDataset obj's underlying member method code with example usage: obj.get_public_data(chunk_size) and returns: self