{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/707","labels_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/707/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/707/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/707/events","html_url":"https://github.com/CartoDB/cartodb.js/pull/707","id":110270196,"number":707,"title":"refactored sql and added new functions for analysis","user":{"login":"ohasselblad","id":1041056,"avatar_url":"https://avatars.githubusercontent.com/u/1041056?v=3","gravatar_id":"","url":"https://api.github.com/users/ohasselblad","html_url":"https://github.com/ohasselblad","followers_url":"https://api.github.com/users/ohasselblad/followers","following_url":"https://api.github.com/users/ohasselblad/following{/other_user}","gists_url":"https://api.github.com/users/ohasselblad/gists{/gist_id}","starred_url":"https://api.github.com/users/ohasselblad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohasselblad/subscriptions","organizations_url":"https://api.github.com/users/ohasselblad/orgs","repos_url":"https://api.github.com/users/ohasselblad/repos","events_url":"https://api.github.com/users/ohasselblad/events{/privacy}","received_events_url":"https://api.github.com/users/ohasselblad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CartoDB/cartodb.js/labels/pecan","name":"pecan","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-07T16:53:56Z","updated_at":"2015-11-24T19:01:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CartoDB/cartodb.js/pulls/707","html_url":"https://github.com/CartoDB/cartodb.js/pull/707","diff_url":"https://github.com/CartoDB/cartodb.js/pull/707.diff","patch_url":"https://github.com/CartoDB/cartodb.js/pull/707.patch"},"body":"I did some refactoring and added two new functions that are in postgresql extension (CDB_Kurtosis and CDB_Skewness).\r\n\r\n/cc @javierarce @xavijam"},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/comments/159373463","html_url":"https://github.com/CartoDB/cartodb.js/pull/707#issuecomment-159373463","issue_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/707","id":159373463,"user":{"login":"ohasselblad","id":1041056,"avatar_url":"https://avatars.githubusercontent.com/u/1041056?v=3","gravatar_id":"","url":"https://api.github.com/users/ohasselblad","html_url":"https://github.com/ohasselblad","followers_url":"https://api.github.com/users/ohasselblad/followers","following_url":"https://api.github.com/users/ohasselblad/following{/other_user}","gists_url":"https://api.github.com/users/ohasselblad/gists{/gist_id}","starred_url":"https://api.github.com/users/ohasselblad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohasselblad/subscriptions","organizations_url":"https://api.github.com/users/ohasselblad/orgs","repos_url":"https://api.github.com/users/ohasselblad/repos","events_url":"https://api.github.com/users/ohasselblad/events{/privacy}","received_events_url":"https://api.github.com/users/ohasselblad/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T19:01:18Z","updated_at":"2015-11-24T19:01:18Z","body":"latest commit removes one of the causes of test failures (naming difference and removal of variable no longer in use). The other error I'm seeing is giving this back (which doesn't seem related to the code changes here):\r\n\r\n```\r\nX Image should use the basemap defined in the vizjson\r\n   Expected Object({ options: Object({ visible: true, type: 'Tiled', urlTemplate: 'https://{s}.maps.nlp.nokia.com/maptile/2.1/maptile/newest/normal.day/{z}/{x}/{y}/256/png8?lg=eng&token=A7tBPacePg9Mj_zghvKt9Q&app_id=KuYppsdXZznpffJsKT24', subdomains: '1234', name: 'Nokia Day', className: 'nokia_day', attribution: '©2012 Nokia <a href='http://here.net/services/terms' target='_blank'>Terms of use</a>' }), infowindow: null, tooltip: null, id: '2c4a8c5e-2ba5-4068-8807-d916a01b48d5', order: 0, type: 'tiled' }) to equal Object({ options: Object({ visible: true, type: 'Tiled', urlTemplate: 'https://{s}.maps.nlp.nokia.com/maptile/2.1/maptile/newest/normal.day/{z}/{x}/{y}/256/png8?lg=eng&token=A7tBPacePg9Mj_zghvKt9Q&app_id=KuYppsdXZznpffJsKT24', subdomains: '1234', name: 'Nokia Day', className: 'nokia_day', attribution: '©2012 Nokia <a href='http://here.net/services/terms' target='_blank'>Terms of use</a>' }), infowindow: null, tooltip: null, id: '2c4a8c5e-2ba5-4068-8807-d916a01b48d5', order: 0, parent_id: null, children: [  ], type: 'tiled' }).\r\n   Error: Expected Object({ options: Object({ visible: true, type: 'Tiled', urlTemplate: 'https://{s}.maps.nlp.nokia.com/maptile/2.1/maptile/newest/normal.day/{z}/{x}/{y}/256/png8?lg=eng&token=A7tBPacePg9Mj_zghvKt9Q&app_id=KuYppsdXZznpffJsKT24', subdomains: '1234', name: 'Nokia Day', className: 'nokia_day', attribution: '©2012 Nokia <a href='http://here.net/services/terms' target='_blank'>Terms of use</a>' }), infowindow: null, tooltip: null, id: '2c4a8c5e-2ba5-4068-8807-d916a01b48d5', order: 0, type: 'tiled' }) to equal Object({ options: Object({ visible: true, type: 'Tiled', urlTemplate: 'https://{s}.maps.nlp.nokia.com/maptile/2.1/maptile/newest/normal.day/{z}/{x}/{y}/256/png8?lg=eng&token=A7tBPacePg9Mj_zghvKt9Q&app_id=KuYppsdXZznpffJsKT24', subdomains: '1234', name: 'Nokia Day', className: 'nokia_day', attribution: '©2012 Nokia <a href='http://here.net/services/terms' target='_blank'>Terms of use</a>' }), infowindow: null, tooltip: null, id: '2c4a8c5e-2ba5-4068-8807-d916a01b48d5', order: 0, parent_id: null, children: [  ], type: 'tiled' }).\r\n```"}}