def get_relative_stage_values(data) -> dict:
    """
    Gets the data for each different stage.
    """
    stages = set()
    for game in data:
        stages.add(game['_source']["stage_name"])
    data2 = {}
    for stage in stages:
        if stage != "":
            data2[stage] = [a for a in data if a["_source"]["stage_name"] == stage]
    return data2