def process_date_innings(data, path, tablename='innings'):
    """
    """

    # Rename innings
    #data = names.rename_table(data, tablename='innings')
    data = add.add_game_date(data, path)
    data = add.add_inning_half(data)
    data = add.add_starting_pitcher_flag(data)
    data = add.add_team(data, path, 'inning')
    return data
def process_date_pitching(data, path):
    """
    """

    # Rename Pitching
    data = names.rename_table(data, tablename="pitching")
    data = names.remap_dtypes(data, tablename='pitching')

    # Add Teams
    data = add.add_team(data, path, 'pitcher')

    # Add Date
    data = add.add_game_date(data, path)

    return data
def process_date_batting(data, path):
    """
    """

    # Rename
    data = names.rename_table(data, tablename='batting')
    data = names.remap_dtypes(data, tablename='batting')

    # Add Teams
    data = add.add_team(data, path, 'batter')

    # Add Date
    data = add.add_game_date(data, path)

    return data