Hello to everybody,
I have table like this:
action | action | action | action | ||
day1 | tree | bird1 | bird2 | . | bird j |
1 | out200in300out30in910 | out100in200out1140 | . | out200in300out940 | |
2 | out500in100out840 | out300in100out10in10out10in10out1400 | . | out1440 | |
. | . | . | . | . | |
. | . | . | . | . | |
. | . | . | . | . | |
. | . | . | . | . | |
n=40 | out1440 | out1440 | . | in100out 1340 | |
day2 | bird1 | bird2 | . | bird i | |
1 | out300in300out50in790 | out100in200out1140 | . | out200in300out940 | |
2 | out600in50out790 | out300in100out10in10out10in10out10in10out980 | . | out1440 | |
. | . | . | . | . | |
. | . | . | . | . | |
. | . | . | . | . | |
. | m=40 | out1440 | out1440 | . | in100out 1340 |
. | . | . | . | . | . |
. | . | . | . | . | . |
. | . | . | . | ||
dayk (k=maksimum 31) | 1 | . | . | . | . |
. | . | . | . | . | |
. | . | . | . | . | |
. | . | . | . | . | |
o=39 | out1440 | out1440 | . | in100out1340 |
and I want process it to the table like beneath:
output table | |||||
tree 1 | |||||
day 1 minutes | |||||
1 | 0 | 0 | 0 | 0 | 1 |
2 | 0 | 0 | 0 | 0 | 1 |
. | . | . | . | . | . |
. | . | . | . | . | . |
. | . | . | . | . | . |
1440 | 0 | 0 | 0 | 0 | 0 |
. | . | . | . | . | . |
. | . | . | . | . | . |
. | . | . | . | . | . |
day k minutes | |||||
1 | . | . | . | . | . |
2 | . | . | . | . | . |
. | . | . | . | . | . |
. | . | . | . | . | . |
. | . | . | . | . | . |
1440 | |||||
. | . | . | . | . | . |
. | . | . | . | . | . |
. | . | . | . | . | . |
. | . | . | . | . | . |
tree m | 0 | 0 | 0 |
0 |
0 |
I have trained Knime nodes (from ETL data manipulation) but i have no idea how to do it.
Main proble for me is how to transform data like: "out300in300out50in790" into the rekords of output. Inputs consists of the rekords, which notes (in minutes) whether bird was or was not on the tree. Output is the registry of 0 (unpresent) 1 (present) of birds on the trees in succesive minutes every day.
The next important problem (for me) is that number of birds are sometimes equal 8 sometimes 10.
Could anybody help me?
Thanks in advance
ps
I attached excell file, but it is not input yet. I create it from word file and manual records..