{"action":"opened","issue":{"url":"https://api.github.com/repos/mksharpless/Warby-Parker-Funnels-/issues/3","repository_url":"https://api.github.com/repos/mksharpless/Warby-Parker-Funnels-","labels_url":"https://api.github.com/repos/mksharpless/Warby-Parker-Funnels-/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/mksharpless/Warby-Parker-Funnels-/issues/3/comments","events_url":"https://api.github.com/repos/mksharpless/Warby-Parker-Funnels-/issues/3/events","html_url":"https://github.com/mksharpless/Warby-Parker-Funnels-/issues/3","id":349816032,"node_id":"MDU6SXNzdWUzNDk4MTYwMzI=","number":3,"title":"Separate out calculations onto separate lines","user":{"login":"jmcrey","id":16808761,"node_id":"MDQ6VXNlcjE2ODA4NzYx","avatar_url":"https://avatars2.githubusercontent.com/u/16808761?v=4","gravatar_id":"","url":"https://api.github.com/users/jmcrey","html_url":"https://github.com/jmcrey","followers_url":"https://api.github.com/users/jmcrey/followers","following_url":"https://api.github.com/users/jmcrey/following{/other_user}","gists_url":"https://api.github.com/users/jmcrey/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcrey/subscriptions","organizations_url":"https://api.github.com/users/jmcrey/orgs","repos_url":"https://api.github.com/users/jmcrey/repos","events_url":"https://api.github.com/users/jmcrey/events{/privacy}","received_events_url":"https://api.github.com/users/jmcrey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-12T14:16:07Z","updated_at":"2018-08-12T14:16:07Z","closed_at":null,"author_association":"NONE","body":"https://github.com/mksharpless/Warby-Parker-Funnels-/blob/847853a304f069f3013e6fae16b750060dccd870/Funnels%20Capston%20Project%20-%20Marissa%20Sharpless-.sql#L51\r\n\r\nThese calculations are spot on for accuracy. Just for readability, we want to move each calculation onto its own line, like so:\r\n\r\n```\r\n1.0 * SUM(is_home_try_on) / COUNT(user_id) As \"Quiz to Home Try On Rate\", \r\n1.0 * SUM(is_purchase) / SUM(is_home_try_on) AS \"Home to Purchase Rate\" \r\n```\r\n\r\nIt simply increases the reader's ability to quickly discern that these are two separate calculations instead of one long one. But, they are spot one -- nice job!"}}
{"actor":{"display_login":"jmcrey"}}