def load_data(data_map,config,log):
    """Collect data locally and write to CSV.

    :param data_map: transform DataFrame map
    :param config: configurations
    :param log: logger object
    :return: None
    """
    for key,df in data_map.items():
        (df
        .coalesce(1)
        .write
        .csv(f'{config["output"]}/{key}', mode='overwrite', header=True))

    return None