def get_processed_row(data, key):
    """
    Utility function will pick either the custom overriden value or the default
    value for the row.
    """
    if data[key+'_r']:
        return data[key+'_r']
    else:
        return data[key]