{"action":"opened","issue":{"url":"https://api.github.com/repos/airbnb/caravel/issues/520","repository_url":"https://api.github.com/repos/airbnb/caravel","labels_url":"https://api.github.com/repos/airbnb/caravel/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/caravel/issues/520/comments","events_url":"https://api.github.com/repos/airbnb/caravel/issues/520/events","html_url":"https://github.com/airbnb/caravel/issues/520","id":156995817,"number":520,"title":"Ability to create Label Replacement Tables","user":{"login":"JohnOmernik","id":1930065,"avatar_url":"https://avatars.githubusercontent.com/u/1930065?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnOmernik","html_url":"https://github.com/JohnOmernik","followers_url":"https://api.github.com/users/JohnOmernik/followers","following_url":"https://api.github.com/users/JohnOmernik/following{/other_user}","gists_url":"https://api.github.com/users/JohnOmernik/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnOmernik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnOmernik/subscriptions","organizations_url":"https://api.github.com/users/JohnOmernik/orgs","repos_url":"https://api.github.com/users/JohnOmernik/repos","events_url":"https://api.github.com/users/JohnOmernik/events{/privacy}","received_events_url":"https://api.github.com/users/JohnOmernik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-26T14:23:29Z","updated_at":"2016-05-26T14:23:29Z","closed_at":null,"body":"When creating slices, lets say we have a table that a field \"gender\" and the values are 1 and they are 2.  (1 being female, 2 being male)\r\nI can do a nice pie chart showing the distribution of the genders grouped by field gender.  It shows 58% 1 and 42% 2.  \r\n\r\nI know what that means, but without having to change my source table, or create new fields that do a SQL CASE statement, what if we could create a simple \"replace\" matrix in the slice creation. \r\n* 1 -> Female\r\n* 2 -> Male\r\n\r\nAll this would do is update the labels on the vis, not the actual data itself.  It would be stored with the slice, and wouldn't effect the underlying queries or data sets.  \r\n\r\n"}}
{"actor":{"display_login":"JohnOmernik"}}