Data Import newbie question - Foreign Keys

QuinasQuinas Member Posts: 1 Contributor I
edited November 2018 in Help
Hi everyone,

I've searched a lot about this topic and didn't find nothing, so I decided to post a question.

I have a relational database, with several tables which are related by foreign keys.

For example, I want to import excel sheet "Accounts":
image

How to say to rapidminer that "district_id" is a foreign key ?

Thanks in advance!
Danny

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,505 RM Data Scientist
    Hello Quinas,
    welcome to our forum.

    RapidMiner has a role conecpt for every attribute. Some of them are predefined like label, cluster or id. Others can be self-named. You can simply type in foreignKey in the role field on the table.
    All special roles (=non regular) will be ignored by operators unless they need to have it to work on it (like a label for learning). So if you assign any other role than regular, it will be ignored.
    For joining you can then specifiy key(s). The default choice is the coloum with role id, but you can change this.

    ~Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.