Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

Write Document after Replacing Tokens

pofigsterpofigster Member Posts: 3 Contributor I
edited September 2020 in Help
I have a document which is a CSV file, but is very poorly formatted.  I'm going to get more files with the same bad formatting, so I'm trying to design a process that will first pre-process the file to correct the issues.

First, I'm using 'Read Document' which just calls the CSV file.  Next, 'Replace Tokens' - there are four regex replace statements here.  If I issue a breakpoint here, I can see in the document results view that the top half is fixed and the bottom half is the original file.  What I want to know how to do is 'Write Document' so the fixed version (with the replaced tokens) is what is written.  I will then 'Read CSV' on the written document so it comes in properly formatted.

Answers

  • raj_kuraj_ku Member Posts: 2 Contributor I
    Did you find a solution? I am trying to something similar.
Sign In or Register to comment.