{"action":"created","issue":{"url":"https://api.github.com/repos/theCrag/website/issues/2829","repository_url":"https://api.github.com/repos/theCrag/website","labels_url":"https://api.github.com/repos/theCrag/website/issues/2829/labels{/name}","comments_url":"https://api.github.com/repos/theCrag/website/issues/2829/comments","events_url":"https://api.github.com/repos/theCrag/website/issues/2829/events","html_url":"https://github.com/theCrag/website/issues/2829","id":241259309,"number":2829,"title":"Show a concept of popularity at the area level as well as route level","user":{"login":"brendanheywood","id":187449,"avatar_url":"https://avatars3.githubusercontent.com/u/187449?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanheywood","html_url":"https://github.com/brendanheywood","followers_url":"https://api.github.com/users/brendanheywood/followers","following_url":"https://api.github.com/users/brendanheywood/following{/other_user}","gists_url":"https://api.github.com/users/brendanheywood/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanheywood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanheywood/subscriptions","organizations_url":"https://api.github.com/users/brendanheywood/orgs","repos_url":"https://api.github.com/users/brendanheywood/repos","events_url":"https://api.github.com/users/brendanheywood/events{/privacy}","received_events_url":"https://api.github.com/users/brendanheywood/received_events","type":"User","site_admin":false},"labels":[{"id":72024,"url":"https://api.github.com/repos/theCrag/website/labels/5:%20Enhancement","name":"5: Enhancement","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-07T13:10:52Z","updated_at":"2017-07-11T05:21:00Z","closed_at":null,"body":"**What happened?**\r\n\r\nIn hind sight one of those things that seems obvious:\r\n![image](https://user-images.githubusercontent.com/187449/27958982-e3b4977a-6368-11e7-99d0-2dd2c13c8c32.png)\r\n\r\nI feel like all the numbers in the area level table just fade into the background, and all my eyes sees are the charts.\r\n\r\n**What you expected:**\r\nWe should have this at the area level too. Thinking that it should probably be as simple as total ascents over total routes and then weighted against the sibling crag with the highest.\r\n"},"comment":{"url":"https://api.github.com/repos/theCrag/website/issues/comments/314325978","html_url":"https://github.com/theCrag/website/issues/2829#issuecomment-314325978","issue_url":"https://api.github.com/repos/theCrag/website/issues/2829","id":314325978,"user":{"login":"scd","id":373058,"avatar_url":"https://avatars3.githubusercontent.com/u/373058?v=3","gravatar_id":"","url":"https://api.github.com/users/scd","html_url":"https://github.com/scd","followers_url":"https://api.github.com/users/scd/followers","following_url":"https://api.github.com/users/scd/following{/other_user}","gists_url":"https://api.github.com/users/scd/gists{/gist_id}","starred_url":"https://api.github.com/users/scd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scd/subscriptions","organizations_url":"https://api.github.com/users/scd/orgs","repos_url":"https://api.github.com/users/scd/repos","events_url":"https://api.github.com/users/scd/events{/privacy}","received_events_url":"https://api.github.com/users/scd/received_events","type":"User","site_admin":false},"created_at":"2017-07-11T05:21:00Z","updated_at":"2017-07-11T05:21:00Z","body":"Simple is good and I agree with you that the main use case is in standard index view mode. If we are going to experiment with something really simple then let's go with the easiest to explain first, which is a) from your list above. Just using the absolute value for ascents is easier to explaining and thus more likely to get acceptance.\r\n\r\nAs this is such a simple algorithm I have implemented the data variables as follows:\r\n\r\n```\r\nareaPop: 66,   # new\r\nrefAscentCount: 10313, # new\r\nascentCount: 1733, # already there\r\n```\r\n\r\nNote that I run the list of children through a function which adds the areaPop and refAscentCount params. Because the function can be for any list of areas I have called the indexing variable something generic - refAscentCount. I have only done this for standard list view. In otherwords, these variables will not be available in other templates such as facets.\r\n\r\nIn repo"}}
{"actor":{"display_login":"scd"}}