def get_rad_weekday(date):
    """
    Returns numeric representation of a weekday according to RAD's data load
    schedule.

    :param date: date to return weekday for
    :type value: datetime.date
    """
    isoday = date.isoweekday()
    if isoday == 7:
        # Sunday
        return 0
    else:
        return isoday