title: JQ Aggregations and Crosstabs
body: <p>I have some data thus:</p>
  
  <pre><code>[
    {
      "count": 4,
      "trial_status": "Follow up",
      "date": "2015-06-06"
    },
    {
      "count": 3,
      "trial_status": "Hold",
      "date": "2015-06-06"
    },
    {
      "count": 2,
      "trial_status": "Trial",
      "date": "2015-06-06"
    },
    {
      "count": 1,
      "trial_status": "Trial + Confirm",
      "date": "2015-06-06"
    }....
  </code></pre>
  
  <p>which I would like to transform to</p>
  
  <pre><code>{"2015-06-06": {"Trial + Confirm": 1, "Follow Up": 4, "Hold": 3, "Trial": 2}}
  </code></pre>
  
  <p>I am not making much headway with any of my approaches so would really appreciate some help.        </p>