Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transform: addcol (add a column) #94

Open
rufuspollock opened this issue Nov 23, 2013 · 0 comments
Open

Transform: addcol (add a column) #94

rufuspollock opened this issue Nov 23, 2013 · 0 comments

Comments

@rufuspollock
Copy link
Member

Propose:

addcol [{name} [{value}]]

where name is name of column (inserted in first row) and value is optional but is value inserted in each row other than first (note if you don't have a header column you leave both out.

@rossjones suggested in #4

Feel that to add I should be able to provide a title, and either:

  • A fixed value for all rows (for when I am merging CSVs from multiple sources and want to add the source)
  • Code to pass to map to calculate the new cell
  • A list of values to 'paste' into the new column.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant