code: def get_reference_data(data_dir=None):
      '''Obtain information for all stored references
  
      This is a nested dictionary with all the data for all the references
  
      The reference data is read from the REFERENCES.json file in the given
      `data_dir` directory.
      '''
  
      data_dir = fix_data_dir(data_dir)
      reffile_path = os.path.join(data_dir, 'REFERENCES.json')
  
      return fileio.read_references(reffile_pathf get_reference_data(data_dir=None):
      '''Obtain information for all stored references
  
      This is a nested dictionary with all the data for all the references
  
      The reference data is read from the REFERENCES.json file in the given
      `data_dir` directory.
      '''
  
      data_dir = fix_data_dir(data_dir)
      reffile_path = os.path.join(data_dir, 'REFERENCES.json')
  
      return fileio.read_references(reffile_path)
docs: Obtain information for all stored references
  
      This is a nested dictionary with all the data for all the references
  
      The reference data is read from the REFERENCES.json file in the given
      `data_dir` directory.