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.

Dynamic change queries.

gritsaygritsay Member, University Professor Posts: 12 University Professor
edited November 2018 in Help
When i can read from database data via dynamically changing queries?
For example:
table in source database:

name | date      | param2 |param3|
id1    | 1.02.10  | test1    |test2 |
id2    |  2.02.10 | test2    |test2 |   

I need for one iterate extract data from 01.02.10 date

1 Iterate processing:
id1    1.02.10  test1    test2

and i need for two iterate extract data from 02.02.10 

2 Iterate processing:
id2    2.02.10  test2    test2

What operators i should use for this iterate processing?

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    there are several loop operators in RapidMiner. In combination with Macros which can be included into the search query of a Read Database operator. This is a powerful approach for dynamic queries. Please take a look into the Manual to get familiar with Macros.

    Greetings,
     Sebastian
  • RichyRichy Member Posts: 20 Contributor II
    Hi,

    As Sebastian said, the combination of Loop operators and Macros is very powerful. You can also look at MyExperiment Brower view to get several examples of how to use loop and macros.

    Regards,
    Richard.
Sign In or Register to comment.