First Question : I want to transpose a data given below as an example : (https://i.stack.imgur.com/i5v8p.png) I need to reshape this data by transposing it to get output as : (https://i.stack.imgur.com/wwmAl.png)
Second Question :
Taking the same example. Considering the below one as my input : (https://i.stack.imgur.com/wwmAl.png)
Output needs to have format as shown below : (https://i.stack.imgur.com/wDkZu.png) Here we need to read field name. I am not sure whether ecl provides a library to do so or whether it should be hard coded.
I am in need of a sample code to achieve these transform.
Thank you.
What you're asking for is to create a nested child dataset of the address components. Here's your example to do that:
HTH,
Richard