code: def fetch_LINEAR_geneva(data_home=None, download_if_missing=True):
      """Loader for LINEAR geneva data.
  
      This supplements the LINEAR data above with well-determined periods
      and other light curve characteristics.
  
      Parameters
      ----------
      data_home : optional, default=None
          Specify another download and cache folder for the datasets. By default
          all astroML data is stored in '~/astroML_data'.
  
      download_if_missing : optional, default=True
          If False, raise a IOError if the data is not locally available
          instead of trying to download the data from the source site.
  
      Returns
      -------
      data : record array
          data on 7000+ LINEAR stars from the Geneva catalog
      """
      data_home = get_data_home(data_home)
  
      archive_file = os.path.join(data_home, GENEVA_ARCHIVE)
  
      if not os.path.exists(archive_file):
          if not download_if_missing:
              raise IOError(
                  "data not present on disk. "
                  "set download_if_missing=True to download"
              )
  
          data = Table.read(GENEVA_URL, format="ascii", header_start=19)
          data = data.as_array()
          np.save(archive_file, data)
      else:
          data = np.load(archive_file)
  
      return data
  
file_path: astroML/astroML/datasets/LINEAR_sample.py
imports: import os
  import tarfile
  import numpy
  from astropy.table import Table
  from .None import get_data_home
  from .tools import download_with_progress_bar
label_desc: Use image node_id 2 for calling a global function with example usage: fetch_LINEAR_geneva(data_home, download_if_missing) and returns: data