{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/ozunconf17/issues/6","repository_url":"https://api.github.com/repos/ropensci/ozunconf17","labels_url":"https://api.github.com/repos/ropensci/ozunconf17/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/ozunconf17/issues/6/comments","events_url":"https://api.github.com/repos/ropensci/ozunconf17/issues/6/events","html_url":"https://github.com/ropensci/ozunconf17/issues/6","id":263303559,"number":6,"title":"Sankey diagrams/transition plots as a ggplot2 extension ","user":{"login":"timchurches","id":2859105,"avatar_url":"https://avatars2.githubusercontent.com/u/2859105?v=4","gravatar_id":"","url":"https://api.github.com/users/timchurches","html_url":"https://github.com/timchurches","followers_url":"https://api.github.com/users/timchurches/followers","following_url":"https://api.github.com/users/timchurches/following{/other_user}","gists_url":"https://api.github.com/users/timchurches/gists{/gist_id}","starred_url":"https://api.github.com/users/timchurches/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timchurches/subscriptions","organizations_url":"https://api.github.com/users/timchurches/orgs","repos_url":"https://api.github.com/users/timchurches/repos","events_url":"https://api.github.com/users/timchurches/events{/privacy}","received_events_url":"https://api.github.com/users/timchurches/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-06T00:13:29Z","updated_at":"2017-10-06T23:01:04Z","closed_at":null,"author_association":"NONE","body":"Port or re-implement static Sankey diagrams/Parallel Co-ordinate Plots (see https://cran.r-project.org/web/packages/alluvial/vignettes/alluvial.html ) and/or transition plots (see https://cran.r-project.org/web/packages/Gmisc/vignettes/transitionPlot.html ) to the ggplot2 environment as an extension geom.\r\n\r\nSee p37 onwards in this report for examples of transition plots in use: http://www.acornregistry.org/images/Acorn-Annual-Report-2016-v12.pdf\r\n\r\nThere are also the riverplot and sankey packages (see https://cran.r-project.org/web/packages/riverplot/riverplot.pdf and https://cran.r-project.org/web/packages/sankey/sankey.pdf), and gvisSankey in the googleVis package (see https://www.rdocumentation.org/packages/googleVis/versions/0.6.0/topics/gvisSankey). None of these work with the ggplot2 ecosystem. "},"comment":{"url":"https://api.github.com/repos/ropensci/ozunconf17/issues/comments/334889283","html_url":"https://github.com/ropensci/ozunconf17/issues/6#issuecomment-334889283","issue_url":"https://api.github.com/repos/ropensci/ozunconf17/issues/6","id":334889283,"user":{"login":"timchurches","id":2859105,"avatar_url":"https://avatars2.githubusercontent.com/u/2859105?v=4","gravatar_id":"","url":"https://api.github.com/users/timchurches","html_url":"https://github.com/timchurches","followers_url":"https://api.github.com/users/timchurches/followers","following_url":"https://api.github.com/users/timchurches/following{/other_user}","gists_url":"https://api.github.com/users/timchurches/gists{/gist_id}","starred_url":"https://api.github.com/users/timchurches/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timchurches/subscriptions","organizations_url":"https://api.github.com/users/timchurches/orgs","repos_url":"https://api.github.com/users/timchurches/repos","events_url":"https://api.github.com/users/timchurches/events{/privacy}","received_events_url":"https://api.github.com/users/timchurches/received_events","type":"User","site_admin":false},"created_at":"2017-10-06T23:01:04Z","updated_at":"2017-10-06T23:01:04Z","author_association":"NONE","body":"Yes, for a Sankey extension to ggplot2, an important issue is how it fits into the whole tidy data/dplyr functional programming  paradigm, and whether it might be useful to add some helper functions to, say, the purrr package to make pipelined data preparation easier, as you suggest. The transitionPlot() in the Gmisc package requires the data to be transformed into a transition matrix, as a matrix object. Not difficult, but it feels out-of-step when doing everything else with ggplot2 and data frames/tibbles.\r\n"}}
{"actor":{"display_login":"timchurches"}}