Get a dictionary that maps indices to a list of (1) the id in the
    hwrt symbol database (2) the latex command (3) the unicode code point
    (4) a font family and (5) a font style.

    Parameters
    ----------
    model_description : string
        A model description file that points to a feature folder where an
        ``index2formula_id.csv`` has to be.

    Returns
    -------
    dictionary
        that maps indices to lists of data

    Notes
    -----
    This command need a database connection.

def get_index2data(model_description):
    """
    Get a dictionary that maps indices to a list of (1) the id in the
    hwrt symbol database (2) the latex command (3) the unicode code point
    (4) a font family and (5) a font style.

    Parameters
    ----------
    model_description : string
        A model description file that points to a feature folder where an
        ``index2formula_id.csv`` has to be.

    Returns
    -------
    dictionary
        that maps indices to lists of data

    Notes
    -----
    This command need a database connection.
    """
    index2latex = {}
    translation_csv = os.path.join(get_project_root(),
                                   model_description["data-source"],
                                   "index2formula_id.csv")
    with open(translation_csv) as csvfile:
        csvreader = csv.DictReader(csvfile, delimiter=',', quotechar='"')
        for row in csvreader:
            database_id = int(row['formula_id'])
            online_data = get_online_symbol_data(database_id)
            latex = online_data['formula_in_latex']
            unicode_code_point = online_data['unicode_dec']
            font = online_data['font']
            font_style = online_data['font_style']
            index2latex[int(row['index'])] = [database_id,
                                              latex,
                                              unicode_code_point,
                                              font,
                                              font_style]
    return index2latex