LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Appending output to CSV File

    Employee
    Posted 09-10-2013 07:49

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: paulk

    I'm looking for a little help with regard to appending to a csv file.
    I want to output statistics (how many records are invalidated at every stage) in a readable form.
    Various nodes and graphs will append to the statistics file in a directory.

    The output to BRD node has the option of appending data, but the output isn't easily readable.

    Alternatively, I'm looking for an easy design to check for file existence, create if necessary, and append
    the current data to the end.

    Thanks Paul


  • 2.  RE: Appending output to CSV File

    Employee
    Posted 09-11-2013 01:50

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: paulk

    Current design is a bit of a hash.
    I now export to a temporary CSV file and then use appendFile to append to the correct file and deleteFile to remove the temporary one.
    It's a pity all file output nodes don't have the append/create options that the outpout to brd file does.


  • 3.  RE: Appending output to CSV File

    Employee
    Posted 09-24-2013 04:58

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Tim Meagher

    Hi,

    I think the solution you are using is probably the best way to do this at the moment.
    I have raised the ability to have append functionality for CSV and delimited files as an enhancement request in our system.
    This has been raised in our system with issue number: 5222.

    Regards,
    Tim.