title: How to retrieve a subset of array within an object in a meteor collection?
body: <p>Hope someone can help! I have a collection in meteor which has objects which contain arrays of temperature readings in the following format:</p>
  
  <pre><code>   "temp_readings": [
          {
              "reading_time": {
                  "$date": "2015-01-18T11:54:00.700Z"
              },
              "temp_F": 181.76
          },
          {
              "reading_time": {
                  "$date": "2015-01-18T11:55:00.700Z"
              },
              "temp_F": 187.16
          },
          {
              "reading_time": {
                  "$date": "2015-01-18T11:56:00.700Z"
              },
              "temp_F": 190.76
          },
          {
              "reading_time": {
                  "$date": "2015-01-18T11:57:00.700Z"
              },
              "temp_F": 196.16
          }
      ]
  </code></pre>
  
  <p>I can retrieve this complete array in my client side meteor code but I now want to read just a subset of this array based on a date/time which is being set by the user. So for example retrieve the subset of the array which has only entries equal or later than "2015-01-18T11:56:00.700Z"... I know I could probably do something with selective publish/subscribe methods but for now is there a simple way on the client side to retrieve this subset of data? Maybe some javascript methods can help?</p>
  
  <p>Thanks in advance,
  Rick</p>