code: def _load_dataset(name, data_home=None, return_dataset=False):
      """
      Load a dataset by name and return specified format.
      """
      info = DATASETS[name]
      data = Dataset(name, data_home=data_home, **info)
      if return_dataset:
          return data
      return data.to_data()
  
file_path: yellowbrick/yellowbrick/datasets/loaders.py
imports: import os
  import json
  from .base import Dataset, Corpus
label_desc: Use image node_id 1 for calling a global function with example usage: _load_dataset(name, data_home, return_dataset) and returns: data, data