def determine_parameters(sheet_name):
    """
    Function is used to determine what parameters should be used
    in the get_info function based on the type of data quality
    error that is being investigated

    :param
    sheet_name (string): sheet that is being 'investigated' to
        determine the data quality metrics for a particular site

    :return:
    perc (boolean): used to determine whether or not the
        number is a 'flawed' record count versus the percentage
        of 'acceptable' records

    succ_rate_string (boolean): used to determine if the sheet should
        only be looking for the columns of the analytics
        report that end with "success_rate"
    """

    if sheet_name in ['duplicates']:
        perc = False
        succ_rate_string = False

    elif sheet_name in ['end_before_begin', 'drug_success', 'sites_measurement']:
        perc = True
        succ_rate_string = False

    elif sheet_name in ['measurement_units', 'concept', 'drug_routes']:
        perc = True
        succ_rate_string = True

    else:  # does not apply; populate with 0 to throw error down the line
        perc, succ_rate_string = 0, 0

    return perc, succ_rate_string