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?


  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    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.

  • Options
    RichyRichy Member Posts: 20 Contributor II

    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.

Sign In or Register to comment.