{"action":"created","issue":{"url":"https://api.github.com/repos/agordon/datamash/issues/1","labels_url":"https://api.github.com/repos/agordon/datamash/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/agordon/datamash/issues/1/comments","events_url":"https://api.github.com/repos/agordon/datamash/issues/1/events","html_url":"https://github.com/agordon/datamash/issues/1","id":40013966,"number":1,"title":"Request: Specify column by name rather than number","user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-08-12T00:21:25Z","updated_at":"2015-02-20T18:57:49Z","closed_at":null,"body":"With `--header-in`, it would be great to be able to specify the column by name rather than number.\r\n\r\n```\r\n❯❯❯ datamash -H -g3 sum 4 <expenses.tsv\r\nGroupBy(Currency)\tsum(Amount)\r\nCDN\t37.69\r\nUS\t149.32\r\n❯❯❯ datamash -H -g Currency sum Amount <expenses.tsv\r\ndatamash: invalid field value for grouping 'Currency'\r\n❯❯❯ datamash -H -g3 sum Amount <expenses.tsv\r\ndatamash: invalid column 'Amount' for operation 'sum'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/agordon/datamash/issues/comments/75298098","html_url":"https://github.com/agordon/datamash/issues/1#issuecomment-75298098","issue_url":"https://api.github.com/repos/agordon/datamash/issues/1","id":75298098,"user":{"login":"agordon","id":523057,"avatar_url":"https://avatars.githubusercontent.com/u/523057?v=3","gravatar_id":"","url":"https://api.github.com/users/agordon","html_url":"https://github.com/agordon","followers_url":"https://api.github.com/users/agordon/followers","following_url":"https://api.github.com/users/agordon/following{/other_user}","gists_url":"https://api.github.com/users/agordon/gists{/gist_id}","starred_url":"https://api.github.com/users/agordon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agordon/subscriptions","organizations_url":"https://api.github.com/users/agordon/orgs","repos_url":"https://api.github.com/users/agordon/repos","events_url":"https://api.github.com/users/agordon/events{/privacy}","received_events_url":"https://api.github.com/users/agordon/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T18:57:49Z","updated_at":"2015-02-20T18:57:49Z","body":"Hello!\r\n\r\nHope to release version 1.0.7 very soon,\r\nthanks for the bug report, I'll look into it.\r\n\r\n-gordon\r\n"}}