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.
Adjust Date with Attribute Value in Time Series Data [SOLVED]
Hi,
I have got some Time Series Data. The Data I have are summed up for every month. In addition a got the production date (MM.YYYY) of each device at the end of the data. The Time Series Index Attribute is calles Time.
It looks like
Now, I would like to add a new attribute Correponding Month adding up the Production-Date and the Value from the Time attribute resulting in
I know how to use Adjust Date and add an integer to the Month Value. But how can I extract the integer from the Time Value
Thanks
Garf
I have got some Time Series Data. The Data I have are summed up for every month. In addition a got the production date (MM.YYYY) of each device at the end of the data. The Time Series Index Attribute is calles Time.
It looks like
ID | Time | Data-Value | Production-Date |
1 | 1 | XXX | 01.2014 |
1 | 2 | XXX | 01.2014 |
1 | 3 | XXX | 01.2014 |
2 | 1 | XXX | 03.2014 |
2 | 2 | XXX | 03.2014 |
2 | 3 | XXX | 03.2014 |
ID | Time | Data-Value | Production-Date | Corresponding Month |
1 | 1 | XXX | 01.2014 | 02.2014 |
1 | 2 | XXX | 01.2014 | 03.2014 |
1 | 3 | XXX | 01.2014 | 04.2014 |
2 | 1 | XXX | 03.2014 | 04.2014 |
2 | 2 | XXX | 03.2014 | 05.2014 |
2 | 3 | XXX | 03.2014 | 06.2014 |
Thanks
Garf
Tagged:
0
Answers
the date_add() function of Generate Attribute is your friend. Have a look at the process below for an example of application.
Best!
~Marius
that solves the Problem in a really nice way.
Thanks a lot.
Garf