{"action":"created","issue":{"url":"https://api.github.com/repos/mb21/pandoc-placetable/issues/2","repository_url":"https://api.github.com/repos/mb21/pandoc-placetable","labels_url":"https://api.github.com/repos/mb21/pandoc-placetable/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mb21/pandoc-placetable/issues/2/comments","events_url":"https://api.github.com/repos/mb21/pandoc-placetable/issues/2/events","html_url":"https://github.com/mb21/pandoc-placetable/issues/2","id":94816500,"number":2,"title":"[Feature request] Allow selection and ordering of CSV lines and columns by additional attributes","user":{"login":"KurtPfeifle","id":4747960,"avatar_url":"https://avatars.githubusercontent.com/u/4747960?v=3","gravatar_id":"","url":"https://api.github.com/users/KurtPfeifle","html_url":"https://github.com/KurtPfeifle","followers_url":"https://api.github.com/users/KurtPfeifle/followers","following_url":"https://api.github.com/users/KurtPfeifle/following{/other_user}","gists_url":"https://api.github.com/users/KurtPfeifle/gists{/gist_id}","starred_url":"https://api.github.com/users/KurtPfeifle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KurtPfeifle/subscriptions","organizations_url":"https://api.github.com/users/KurtPfeifle/orgs","repos_url":"https://api.github.com/users/KurtPfeifle/repos","events_url":"https://api.github.com/users/KurtPfeifle/events{/privacy}","received_events_url":"https://api.github.com/users/KurtPfeifle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-07-13T21:31:50Z","updated_at":"2016-10-26T09:52:16Z","closed_at":null,"body":"1. Allow *selective processing* of CSV lines (== table rows) into the generated tables. For example by supporting an additional attribute like `csvlines=3,7,33-end,2` (should be obvious what I mean with this). And the lines should appear in the same order as `cvslines=...` lists them.\r\n1. Allow *selective* processing of CSV columns (== table cols) into the table. For example by supporting an additional attribute like `csvcolumns=6,3,2,13,44-end` (similarly, allow re-arranging of order of columns).\r\n\r\nOf course, these two features should also be working when combining them.\r\n \r\nThis feature would significantly ease the difficulty and amount of work that is required if you want to create smaller, selective tables from a larger CSV file, and it would spare the creation, handling and management of multiple, temporarily created smaller CSV files...."},"comment":{"url":"https://api.github.com/repos/mb21/pandoc-placetable/issues/comments/256301143","html_url":"https://github.com/mb21/pandoc-placetable/issues/2#issuecomment-256301143","issue_url":"https://api.github.com/repos/mb21/pandoc-placetable/issues/2","id":256301143,"user":{"login":"ickc","id":10970208,"avatar_url":"https://avatars.githubusercontent.com/u/10970208?v=3","gravatar_id":"","url":"https://api.github.com/users/ickc","html_url":"https://github.com/ickc","followers_url":"https://api.github.com/users/ickc/followers","following_url":"https://api.github.com/users/ickc/following{/other_user}","gists_url":"https://api.github.com/users/ickc/gists{/gist_id}","starred_url":"https://api.github.com/users/ickc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ickc/subscriptions","organizations_url":"https://api.github.com/users/ickc/orgs","repos_url":"https://api.github.com/users/ickc/repos","events_url":"https://api.github.com/users/ickc/events{/privacy}","received_events_url":"https://api.github.com/users/ickc/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T09:52:16Z","updated_at":"2016-10-26T09:52:16Z","body":"@KurtPfeifle,\r\n\r\nI just installed the filter and tested it. Using the example given:\r\n\r\n```\r\n```{.table file=\"foo.csv\" header=yes aligns=LRCRR inlinemarkdown=yes\r\n     caption=\"my **caption**\" delimiter=\",\" quotechar=\"\\\"\" }\r\n\\```\r\n```\r\n\r\nThe `aligns=LRCRR`, having 5 columns only, will truncate the numbers of columns (in my file it has 8 columns but only 5 are shown). You could use this behavior to hide the columns you don't want to show up. It isn't quite what you asked (and it doesn't hide rows), but better than nothing. And personally I agree the behavior you are asking should be done somewhere else.\r\n\r\n@mb21,\r\n\r\n> I was thinking of incorporating a .xlsx file reader\r\n\r\nIs `.xlsx` support still under consideration?"}}
{"actor":{"display_login":"ickc"}}