srs_metadata_cleaning.py
def combine_values(uri_list, check_full_titles_for_volume_info, check_copyright_ocr_for_edition_info, check_fm_and_marc_titles_for_differences):
    """
    Creates list of check values corresponding to title URIs.

    The following Stack Overflow page was helpful in producing this function:
    "Merge Two Lists to Make List of Lists,"
    https://stackoverflow.com/questions/23327242/merge-two-lists-to-make-list-of-lists (accessed October 28, 2020)

    Parameters
    ----------
    uri_list: list
        A list of URIs for each title
    check_full_titles_for_volume_info: list
        A list of check values for volume information corresponding to full title strings.
    check_copyright_ocr_for_edition_info: list
        A list of check values for edition information corresponding to copyright OCR strings.

    Returns
    ----------
    combined_values: list
        A list of URIs and volume/edition check values
        corresponding to each title.

    """

    a = uri_list
    b = check_full_titles_for_volume_info
    c = check_copyright_ocr_for_edition_info
    d = check_fm_and_marc_titles_for_differences

    combined_values = [list(x) for x in zip(a, b, c, d)]

    return combined_values

    Creates list of check values corresponding to title URIs.

    The following Stack Overflow page was helpful in producing this function:
    "Merge Two Lists to Make List of Lists,"
    https://stackoverflow.com/questions/23327242/merge-two-lists-to-make-list-of-lists (accessed October 28, 2020)

    Parameters
    ----------
    uri_list: list
        A list of URIs for each title
    check_full_titles_for_volume_info: list
        A list of check values for volume information corresponding to full title strings.
    check_copyright_ocr_for_edition_info: list
        A list of check values for edition information corresponding to copyright OCR strings.

    Returns
    ----------
    combined_values: list
        A list of URIs and volume/edition check values
        corresponding to each title.

    
Creates list of check values corresponding to title URIs.
Creates list of check values corresponding to title URIs .
def combine_values(uri_list, check_full_titles_for_volume_info, check_copyright_ocr_for_edition_info, check_fm_and_marc_titles_for_differences):
    a = uri_list
    b = check_full_titles_for_volume_info
    c = check_copyright_ocr_for_edition_info
    d = check_fm_and_marc_titles_for_differences
    combined_values = [list(x) for x in zip(a, b, c, d)]
    return combined_values
def combine_values ( uri_list , check_full_titles_for_volume_info , check_copyright_ocr_for_edition_info , check_fm_and_marc_titles_for_differences ) : a = uri_list b = check_full_titles_for_volume_info c = check_copyright_ocr_for_edition_info d = check_fm_and_marc_titles_for_differences combined_values = [ list ( x ) for x in zip ( a , b , c , d ) ] return combined_values
Creates list of check values corresponding to title URIs.
Creates list of check values corresponding to title URIs .
"""
    Creates list of check values corresponding to title URIs.

    The following Stack Overflow page was helpful in producing this function:
    "Merge Two Lists to Make List of Lists,"
    https://stackoverflow.com/questions/23327242/merge-two-lists-to-make-list-of-lists (accessed October 28, 2020)

    Parameters
    ----------
    uri_list: list
        A list of URIs for each title
    check_full_titles_for_volume_info: list
        A list of check values for volume information corresponding to full title strings.
    check_copyright_ocr_for_edition_info: list
        A list of check values for edition information corresponding to copyright OCR strings.

    Returns
    ----------
    combined_values: list
        A list of URIs and volume/edition check values
        corresponding to each title.

    """
uri_list
A list of URIs for each title
A list of URIs for each title
check_full_titles_for_volume_info
A list of check values for volume information corresponding to full title strings.
A list of check values for volume information corresponding to full title strings .
check_copyright_ocr_for_edition_info
A list of check values for edition information corresponding to copyright OCR strings.
A list of check values for edition information corresponding to copyright OCR strings .
check_fm_and_marc_titles_for_differences
Returns

None
----------

None
combined_values
A list of URIs and volume/edition check values
corresponding to each title.
A list of URIs and volume / edition check values corresponding to each title .