{"action":"created","issue":{"url":"https://api.github.com/repos/carpentries/assessment/issues/218","repository_url":"https://api.github.com/repos/carpentries/assessment","labels_url":"https://api.github.com/repos/carpentries/assessment/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/carpentries/assessment/issues/218/comments","events_url":"https://api.github.com/repos/carpentries/assessment/issues/218/events","html_url":"https://github.com/carpentries/assessment/pull/218","id":347375173,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MDE0MDI4","number":218,"title":"Redraw longterm_change_in_programming_usage as slopegraph (fix #215)","user":{"login":"katrinleinweber","id":9948149,"node_id":"MDQ6VXNlcjk5NDgxNDk=","avatar_url":"https://avatars2.githubusercontent.com/u/9948149?v=4","gravatar_id":"","url":"https://api.github.com/users/katrinleinweber","html_url":"https://github.com/katrinleinweber","followers_url":"https://api.github.com/users/katrinleinweber/followers","following_url":"https://api.github.com/users/katrinleinweber/following{/other_user}","gists_url":"https://api.github.com/users/katrinleinweber/gists{/gist_id}","starred_url":"https://api.github.com/users/katrinleinweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katrinleinweber/subscriptions","organizations_url":"https://api.github.com/users/katrinleinweber/orgs","repos_url":"https://api.github.com/users/katrinleinweber/repos","events_url":"https://api.github.com/users/katrinleinweber/events{/privacy}","received_events_url":"https://api.github.com/users/katrinleinweber/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-03T12:21:16Z","updated_at":"2018-08-09T12:47:05Z","closed_at":"2018-08-07T14:31:11Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/carpentries/assessment/pulls/218","html_url":"https://github.com/carpentries/assessment/pull/218","diff_url":"https://github.com/carpentries/assessment/pull/218.diff","patch_url":"https://github.com/carpentries/assessment/pull/218.patch"},"body":"It's based on https://github.com/jkeirstead/r-slopegraph/pull/1 and looks like this:\r\n\r\n![grafik](https://user-images.githubusercontent.com/9948149/43642170-c05951ec-9726-11e8-969a-f2c23a403398.png)\r\n\r\nI tried removing some of the whitespace between the labels on the left and the data, but I haven't found which part of [`theme_slopegrap()`](https://github.com/jkeirstead/r-slopegraph/blob/master/slopegraph.r#L166-L187) is responsible. Maybe the whitespace adjustment occurs somewhere else?\r\n\r\n---\r\n\r\nThere is also @leeper's [`slopegraph` package]( https://github.com/leeper/slopegraph), but \r\n\r\n```\r\nslopegraph::ggslopegraph2(\r\n  dataframe = pre_and_post_usage,\r\n  times = key,\r\n  measurement = perc,\r\n  grouping = value\r\n  )\r\n```\r\n\r\ndraws the doubly labelled:\r\n\r\n![grafik](https://user-images.githubusercontent.com/9948149/43642348-79dbba7e-9727-11e8-8c04-077aa4cb8a52.png)\r\n\r\nI think that's due to the labels not being factors or levels or something, because sometime in between, I had them deduplicated and each label was only once on the far left and the far right :-/\r\n\r\n---\r\n\r\nSo, to summarise, this is what slopegraphs would generally look like :-)"},"comment":{"url":"https://api.github.com/repos/carpentries/assessment/issues/comments/411745107","html_url":"https://github.com/carpentries/assessment/pull/218#issuecomment-411745107","issue_url":"https://api.github.com/repos/carpentries/assessment/issues/218","id":411745107,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTc0NTEwNw==","user":{"login":"katrinleinweber","id":9948149,"node_id":"MDQ6VXNlcjk5NDgxNDk=","avatar_url":"https://avatars2.githubusercontent.com/u/9948149?v=4","gravatar_id":"","url":"https://api.github.com/users/katrinleinweber","html_url":"https://github.com/katrinleinweber","followers_url":"https://api.github.com/users/katrinleinweber/followers","following_url":"https://api.github.com/users/katrinleinweber/following{/other_user}","gists_url":"https://api.github.com/users/katrinleinweber/gists{/gist_id}","starred_url":"https://api.github.com/users/katrinleinweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katrinleinweber/subscriptions","organizations_url":"https://api.github.com/users/katrinleinweber/orgs","repos_url":"https://api.github.com/users/katrinleinweber/repos","events_url":"https://api.github.com/users/katrinleinweber/events{/privacy}","received_events_url":"https://api.github.com/users/katrinleinweber/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T12:47:05Z","updated_at":"2018-08-09T12:47:05Z","author_association":"CONTRIBUTOR","body":"Note for next time: I'll push the knit-ed version after reviewing the source and before flagging a PR to be ready to be merged. Unless https://github.com/carpentries/lesson-infrastructure/issues/20 will be rolled out to this repo before ;-)"}}
{"actor":{"display_login":"katrinleinweber"}}