code: def get_data(
      url, dest_subdir, dest_filename, download_if_missing=True
  ):
      data_dir = os.path.join(os.path.abspath(DATA_DIR), dest_subdir)
  
      create_data_dir(data_dir)
  
      dest_path = os.path.join(data_dir, dest_filename)
  
      if not os.path.isfile(dest_path):
          if download_if_missing:
              download(url, dest_path)
          else:
              raise IOError("Dataset missing.")
  
      return dest_path
  
imports: import os
  import requests
label_desc: Use image node_id 3 for calling a global function with example usage: get_data(url, dest_subdir, dest_filename, download_if_missing) and returns: dest_path