{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/572709783de7210adddcf839ca80f2cf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"572709783de7210adddcf839ca80f2cf","url":"https://api.github.com/users/rsweetland","login":"rsweetland","id":81267},"milestone":null,"labels":[],"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/58fb86f7411d02a190063dd7560d1540?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"58fb86f7411d02a190063dd7560d1540","url":"https://api.github.com/users/phpfour","login":"phpfour","id":171715},"updated_at":"2011-11-02T08:58:58Z","comments":1,"closed_at":"2011-11-02T08:58:58Z","url":"https://api.github.com/repos/rsweetland/Lean-Charts/issues/8","body":"Function to count events where data meets certain conditions.\r\n\r\nExample:  \r\ncountEventsWhere(eventName, data-conditions-present, $cohort);   \r\nExample:\r\n$numInvites  = countEventsWhere('Invite sent', 'joe@smith.com', $cohort);  (Maybe we make this more abstract by putting into an array, etc so we can search for the number of events where \"numValue > 10\" or something like that).  Cohort would apply here as well. \r\n\r\n","html_url":"https://github.com/rsweetland/Lean-Charts/issues/8","title":"Helper Function to Count Events Limited By Contents in the \"Data\" field","number":8,"id":2049162,"created_at":"2011-10-25T20:02:31Z"},"action":"closed"}