def aggregate_classification(classification_list):
    """
        Aggregate into a unique classification given an input list of
    classifications

        Parameters
        ----------
        classification_list : list
                list with the input land use classifications

        Returns
        ----------
        string
                returns the aggregated classification
        """
    if "other" in classification_list:  # other tag -> Non-interesting building
        classification = None
    elif ("activity" in classification_list) and (
        "residential" in classification_list
    ):  # Mixed
        classification = "mixed"
    elif "mixed" in classification_list:  # Mixed
        classification = "mixed"
    elif "activity" in classification_list:  # Activity
        classification = "activity"
    elif "residential" in classification_list:  # Residential
        classification = "residential"
    elif "infer" in classification_list:  # To infer
        classification = "infer"
    else:  # No valuable classification
        classification = None

    return classification