{"action":"created","issue":{"url":"https://api.github.com/repos/UI-Research/urbnthemes/issues/24","repository_url":"https://api.github.com/repos/UI-Research/urbnthemes","labels_url":"https://api.github.com/repos/UI-Research/urbnthemes/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/UI-Research/urbnthemes/issues/24/comments","events_url":"https://api.github.com/repos/UI-Research/urbnthemes/issues/24/events","html_url":"https://github.com/UI-Research/urbnthemes/issues/24","id":339067845,"node_id":"MDU6SXNzdWUzMzkwNjc4NDU=","number":24,"title":"Accessing custom palettes with default ggplot2 syntax","user":{"login":"awunderground","id":11818850,"node_id":"MDQ6VXNlcjExODE4ODUw","avatar_url":"https://avatars1.githubusercontent.com/u/11818850?v=4","gravatar_id":"","url":"https://api.github.com/users/awunderground","html_url":"https://github.com/awunderground","followers_url":"https://api.github.com/users/awunderground/followers","following_url":"https://api.github.com/users/awunderground/following{/other_user}","gists_url":"https://api.github.com/users/awunderground/gists{/gist_id}","starred_url":"https://api.github.com/users/awunderground/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awunderground/subscriptions","organizations_url":"https://api.github.com/users/awunderground/orgs","repos_url":"https://api.github.com/users/awunderground/repos","events_url":"https://api.github.com/users/awunderground/events{/privacy}","received_events_url":"https://api.github.com/users/awunderground/received_events","type":"User","site_admin":false},"labels":[{"id":861638512,"node_id":"MDU6TGFiZWw4NjE2Mzg1MTI=","url":"https://api.github.com/repos/UI-Research/urbnthemes/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":{"login":"awunderground","id":11818850,"node_id":"MDQ6VXNlcjExODE4ODUw","avatar_url":"https://avatars1.githubusercontent.com/u/11818850?v=4","gravatar_id":"","url":"https://api.github.com/users/awunderground","html_url":"https://github.com/awunderground","followers_url":"https://api.github.com/users/awunderground/followers","following_url":"https://api.github.com/users/awunderground/following{/other_user}","gists_url":"https://api.github.com/users/awunderground/gists{/gist_id}","starred_url":"https://api.github.com/users/awunderground/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awunderground/subscriptions","organizations_url":"https://api.github.com/users/awunderground/orgs","repos_url":"https://api.github.com/users/awunderground/repos","events_url":"https://api.github.com/users/awunderground/events{/privacy}","received_events_url":"https://api.github.com/users/awunderground/received_events","type":"User","site_admin":false},"assignees":[{"login":"awunderground","id":11818850,"node_id":"MDQ6VXNlcjExODE4ODUw","avatar_url":"https://avatars1.githubusercontent.com/u/11818850?v=4","gravatar_id":"","url":"https://api.github.com/users/awunderground","html_url":"https://github.com/awunderground","followers_url":"https://api.github.com/users/awunderground/followers","following_url":"https://api.github.com/users/awunderground/following{/other_user}","gists_url":"https://api.github.com/users/awunderground/gists{/gist_id}","starred_url":"https://api.github.com/users/awunderground/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awunderground/subscriptions","organizations_url":"https://api.github.com/users/awunderground/orgs","repos_url":"https://api.github.com/users/awunderground/repos","events_url":"https://api.github.com/users/awunderground/events{/privacy}","received_events_url":"https://api.github.com/users/awunderground/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-07-06T20:50:37Z","updated_at":"2018-07-09T20:58:26Z","closed_at":"2018-07-09T20:58:26Z","author_association":"COLLABORATOR","body":"I think this is the sustainable solution to using custom palettes at the Urban Institute with normal ggplot2 syntax.\r\n\r\nAdd the following functions to `library(urbnthemes)` and drop them from `set_urbn_defaults()`. \r\n\r\n`scale_color_discrete()`\r\n`scale_color_gradientn()`\r\n`scale_colour_discrete()`\r\n`scale_colour_gradientn()`\r\n`scale_fill_discrete()`\r\n`scale_fill_gradientn()`\r\n\r\nThen add `library(conflicted)` to `set_urbn_defaults()` [link](https://www.tidyverse.org/articles/2018/06/conflicted/)"},"comment":{"url":"https://api.github.com/repos/UI-Research/urbnthemes/issues/comments/403618257","html_url":"https://github.com/UI-Research/urbnthemes/issues/24#issuecomment-403618257","issue_url":"https://api.github.com/repos/UI-Research/urbnthemes/issues/24","id":403618257,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzYxODI1Nw==","user":{"login":"awunderground","id":11818850,"node_id":"MDQ6VXNlcjExODE4ODUw","avatar_url":"https://avatars1.githubusercontent.com/u/11818850?v=4","gravatar_id":"","url":"https://api.github.com/users/awunderground","html_url":"https://github.com/awunderground","followers_url":"https://api.github.com/users/awunderground/followers","following_url":"https://api.github.com/users/awunderground/following{/other_user}","gists_url":"https://api.github.com/users/awunderground/gists{/gist_id}","starred_url":"https://api.github.com/users/awunderground/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awunderground/subscriptions","organizations_url":"https://api.github.com/users/awunderground/orgs","repos_url":"https://api.github.com/users/awunderground/repos","events_url":"https://api.github.com/users/awunderground/events{/privacy}","received_events_url":"https://api.github.com/users/awunderground/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T20:58:26Z","updated_at":"2018-07-09T20:58:26Z","author_association":"COLLABORATOR","body":"Resolved with pull request #26."}}
{"actor":{"display_login":"awunderground"}}