{"action":"created","issue":{"url":"https://api.github.com/repos/d3/d3-dsv/issues/12","labels_url":"https://api.github.com/repos/d3/d3-dsv/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/d3/d3-dsv/issues/12/comments","events_url":"https://api.github.com/repos/d3/d3-dsv/issues/12/events","html_url":"https://github.com/d3/d3-dsv/issues/12","id":118674443,"number":12,"title":"dsv.format could take an optional columns array?","user":{"login":"mariocasciaro","id":105319,"avatar_url":"https://avatars.githubusercontent.com/u/105319?v=3","gravatar_id":"","url":"https://api.github.com/users/mariocasciaro","html_url":"https://github.com/mariocasciaro","followers_url":"https://api.github.com/users/mariocasciaro/followers","following_url":"https://api.github.com/users/mariocasciaro/following{/other_user}","gists_url":"https://api.github.com/users/mariocasciaro/gists{/gist_id}","starred_url":"https://api.github.com/users/mariocasciaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariocasciaro/subscriptions","organizations_url":"https://api.github.com/users/mariocasciaro/orgs","repos_url":"https://api.github.com/users/mariocasciaro/repos","events_url":"https://api.github.com/users/mariocasciaro/events{/privacy}","received_events_url":"https://api.github.com/users/mariocasciaro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-24T18:31:39Z","updated_at":"2015-11-25T18:05:02Z","closed_at":null,"body":"Sometimes it is useful to explicitly specify a column order for the generated CSV file, other times we may want to exclude one or more columns, moreover, providing a column list in input will avoid the initial scan of the row list required to extract the column names.\r\nI would mainly implement it for the first reason, since a csv file is often opened using a spreadsheet app like Excel, where the order of the columns should not be just random.\r\n\r\nIf you are interested, I can work on a PR, since I need the feature anyway.\r\n\r\nThanks for your time and for the lib!"},"comment":{"url":"https://api.github.com/repos/d3/d3-dsv/issues/comments/159689581","html_url":"https://github.com/d3/d3-dsv/issues/12#issuecomment-159689581","issue_url":"https://api.github.com/repos/d3/d3-dsv/issues/12","id":159689581,"user":{"login":"mbostock","id":230541,"avatar_url":"https://avatars.githubusercontent.com/u/230541?v=3","gravatar_id":"","url":"https://api.github.com/users/mbostock","html_url":"https://github.com/mbostock","followers_url":"https://api.github.com/users/mbostock/followers","following_url":"https://api.github.com/users/mbostock/following{/other_user}","gists_url":"https://api.github.com/users/mbostock/gists{/gist_id}","starred_url":"https://api.github.com/users/mbostock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbostock/subscriptions","organizations_url":"https://api.github.com/users/mbostock/orgs","repos_url":"https://api.github.com/users/mbostock/repos","events_url":"https://api.github.com/users/mbostock/events{/privacy}","received_events_url":"https://api.github.com/users/mbostock/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T18:05:01Z","updated_at":"2015-11-25T18:05:01Z","body":"Fixed in 0.1.11."}}