Dynamic change queries.

gritsay
gritsay New Altair Community Member
edited November 5 in Community Q&A
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?
Tagged:

Answers

  • land
    land New Altair Community Member
    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
  • Richy
    Richy New Altair Community Member
    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.