Import file for custom operation

Marvin_Jansen
Marvin_Jansen New Altair Community Member
edited November 2024 in Community Q&A

Hey there,

I just started working with Rapidminer and want to write a custom operation in order to make some little changes in .csv files, which have a wrong format for Rapidminer. My approach is to import a csv file, edit it (just a few lines to delete) and use the edited file as my output, so that the "Read CSV" operation can use it as usual.

Up to now, the problem is that I don't know how to import files in my operation. Is there for example any option to include some sort of "Browse"- dialog like in the regular read operations?

 

Thanks,

Marvin

Best Answer

  • Thomas_Ott
    Thomas_Ott New Altair Community Member
    Answer ✓
    This might be a job for some groovy script. You can use the execute script operator for that. Or if python or R is more your flavor, then use one of those execute script operators

Answers

  • Thomas_Ott
    Thomas_Ott New Altair Community Member
    Answer ✓
    This might be a job for some groovy script. You can use the execute script operator for that. Or if python or R is more your flavor, then use one of those execute script operators
  • Marvin_Jansen
    Marvin_Jansen New Altair Community Member

    That really sounds less complicated, thank you!