def default_value(feature):
    """Decides a default value for the given feature, to replace missing or
    null values.

    Parameters
    ----------
    feature (str): Name of feature.

    Returns
    ----------
        (int or bool): Default value for given feature.
    """
    if feature == 'rqst_timespan':
        return 36500
    elif feature == 'rqst_area_rect':
        return 129600
    elif feature.endswith('_num'):
        return 0
    elif feature == 'converted':
        return False
    elif feature.startswith('ds'):
        return False
    elif feature in ['PP', 'BR']:
        return False
    elif feature in ['SP']:
        return True
    else:
        raise ValueError(f"Feature {feature} has no default value set.")