covid19-etl/utils/format_helper.py
def idph_last_reported_date(utilization_records):
    """
    Fetches the "ReportDate" value from the last record of the utilization array

    Args:
        utilization_records (list) : List of all historical hospital utilization records

    Returns:
        str: last reported date of the data in "%Y-%m-%d" format
    """
    return remove_time_from_date_time(utilization_records[-1]["ReportDate"])

    Fetches the "ReportDate" value from the last record of the utilization array

    Args:
        utilization_records (list) : List of all historical hospital utilization records

    Returns:
        str: last reported date of the data in "%Y-%m-%d" format
    
Fetches the "ReportDate" value from the last record of the utilization array
Fetches the " ReportDate " value from the last record of the utilization array
def idph_last_reported_date(utilization_records):
    return remove_time_from_date_time(utilization_records[-1]["ReportDate"])
def idph_last_reported_date ( utilization_records ) : return remove_time_from_date_time ( utilization_records [ - 1 ] [ "ReportDate" ] )
Fetches the "ReportDate" value from the last record of the utilization array
Fetches the " ReportDate " value from the last record of the utilization array
"""
    Fetches the "ReportDate" value from the last record of the utilization array

    Args:
        utilization_records (list) : List of all historical hospital utilization records

    Returns:
        str: last reported date of the data in "%Y-%m-%d" format
    """
last reported date of the data in "%Y-%m-%d" format
last reported date of the data in " %Y - %m - %d " format
str
utilization_records
List of all historical hospital utilization records
List of all historical hospital utilization records