def remove_deleted_datasets_from_results(result):
    """Remove datasets marked as removed from results.

    Arguments:
        result (dict): Results with all datasets.

    Returns:
        dict: Results where removed datasets are removed.

    """
    new_results = [
        dataset for dataset in result.get("results") if dataset.get("removed") is False
    ]
    result["results"] = new_results
    return result