Functional programming / Ramda: Creating a new object by picking nested properties
|Added at||2017-01-03 16:01|
Functional programming newbie here. I have this object:
In the end I want to have it in this format:
I created this function below which works, but I'm trying use only Ramda's functions instead of creating new objects by hand. I assume it's more "functional" way, let me know if it doesn't really matter.
Thanks very much