src/extractor-lib/edfi_lms_extractor_lib/csv_generation/write.py
def write_system_activities(
    df_to_write: DataFrame, output_date: datetime, output_directory: str
):
    """
    Write a series of LMS UDM System Activities DataFrames to CSV files

    Parameters
    ----------
    dfs_to_write: DataFrame
        Dataframe to write
    output_date: datetime
        is the timestamp for the filename
    output_directory: str
        is the root output directory
    """
    _write_csv(
        df_to_write,
        output_date,
        _normalized_directory_template(
            output_directory,
            [
                *SYSTEM_ACTIVITY_ROOT_DIRECTORY,
                f"date={output_date.strftime('%Y-%m-%d')}",
            ],
        ),
    )

    Write a series of LMS UDM System Activities DataFrames to CSV files

    Parameters
    ----------
    dfs_to_write: DataFrame
        Dataframe to write
    output_date: datetime
        is the timestamp for the filename
    output_directory: str
        is the root output directory
    
Write a series of LMS UDM System Activities DataFrames to CSV files
Parameters

DataFrame
Dataframe to write
output_date: datetime
is the timestamp for the filename
output_directory: str
is the root output directory
Write a series of LMS UDM System Activities DataFrames to CSV files Parameters DataFrame Dataframe to write output_date : datetime is the timestamp for the filename output_directory : str is the root output directory
def write_system_activities(
    df_to_write: DataFrame, output_date: datetime, output_directory: str
):
    _write_csv(
        df_to_write,
        output_date,
        _normalized_directory_template(
            output_directory,
            [
                *SYSTEM_ACTIVITY_ROOT_DIRECTORY,
                f"date={output_date.strftime('%Y-%m-%d')}",
            ],
        ),
    )
def write_system_activities ( df_to_write : DataFrame , output_date : datetime , output_directory : str ) : _write_csv ( df_to_write , output_date , _normalized_directory_template ( output_directory , [ * SYSTEM_ACTIVITY_ROOT_DIRECTORY , f"date={output_date.strftime('%Y-%m-%d')}" , ] , ) , )
Write a series of LMS UDM System Activities DataFrames to CSV files
Parameters
Write a series of LMS UDM System Activities DataFrames to CSV files Parameters
"""
    Write a series of LMS UDM System Activities DataFrames to CSV files

    Parameters
    ----------
    dfs_to_write: DataFrame
        Dataframe to write
    output_date: datetime
        is the timestamp for the filename
    output_directory: str
        is the root output directory
    """
df_to_write
DataFrame
output_date
datetime
output_directory
str