code: def _list_datasets(home_dir):
      """Get a string representation of all available datasets with descriptions."""
      lines = []
      for filename, resource in itertools.chain(DATASETS.items()):
          file_path = os.path.join(home_dir, filename)
          if not os.path.exists(file_path):
              location = f"location: {resource.url}"
          else:
              location = f"location: {file_path}"
          lines.append(
              f"{filename}\n{'=' * len(filename)}\n{resource.description}\n{location}"
          )
  
      return f"\n\n{10 * '-'}\n\n".join(lines)
  
file_path: bambi/bambi/data/datasets.py
imports: import hashlib
  import itertools
  import os
  import shutil
  from collections import namedtuple
  from urllib.request import urlretrieve
  import pandas
label_desc: Use image node_id 5 for calling a global function with example usage: _list_datasets(home_dir) and returns: str, unknown, str