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.

Data Import newbie question - Foreign Keys

QuinasQuinas Member Posts: 1 Learner III
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,529 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.