title: Reduce Array of Array of Objects Using Ramda
body: <p>I have an array of array of objects. I want to reduce that to an array of object and adding one more property to each object.
  The sample input is:</p>
  <pre><code>const data = [
      [
          {name:&quot;a&quot;, val:5},
          {name:&quot;b&quot;, val:10},
          {name:&quot;c&quot;, val:20},
          {name:&quot;d&quot;, val:50},
          {name:&quot;e&quot;, val:100}
      ],
      [
          {name:&quot;a&quot;, val:0},
          {name:&quot;b&quot;, val:20},
          {name:&quot;c&quot;, val:30},
          {name:&quot;d&quot;, val:40},
          {name:&quot;e&quot;, val:10}
      ],
      [
          {name:&quot;a&quot;, val:60},
          {name:&quot;b&quot;, val:50},
          {name:&quot;c&quot;, val:40},
          {name:&quot;d&quot;, val:70},
          {name:&quot;e&quot;, val:30}
      ]
  ];
  </code></pre>
  <p>And the Output should be:</p>
  <pre><code>[{name: 'a', val: 65, rank: 'si'},
   {name: 'b', val: 80, rank: 'dp'},
   {name: 'c', val: 90, rank: 'en'}
   {name: 'd', val: 160, rank: 'fr'}]
  </code></pre>
  <p><code>Rank</code> is static text means for <code>a</code>, it will always be <code>&quot;si&quot;</code>
  How can I achieve this using <strong>ramda</strong>?</p>