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

Not able to use "replace" for the column headers #121

Open
MichaelUray opened this issue Jan 17, 2017 · 2 comments
Open

Not able to use "replace" for the column headers #121

MichaelUray opened this issue Jan 17, 2017 · 2 comments

Comments

@MichaelUray
Copy link

I would like to change the text in the column headers but the "replace" did not work on the first row of the CSV file which contains the column header texts.

@andylolz
Copy link
Collaborator

andylolz commented Jan 17, 2017

Thanks for this, @MichaelUray! Could you send a URL with an example query?

I guess if you use csv -H it will work, but that might not be what you’re after…

@MichaelUray
Copy link
Author

Hi Andy,

thanks for your response.

I would like to change the column header "Schlusskurs" to "Schluss".
With the -H option which you proposed gets the column row removed and the header names are shown in the first row. I would like to import the data into a program which requires certain names in the header and on this way it unfortunatly does not work for me.

http://datapipes.okfnlabs.org/csv%20-t/replace%20Schlusskurs%20Schluss/html/?url=http%3A%2F%2Fwww.ariva.de%2Fquote%2Fhistoric%2Fhistoric.csv%3Fsecu%3D293%26boerse_id%3D6%26clean_split%3D1%26clean_payout%3D0%26clean_bezug%3D1%26min_time%3D1.1.2010%26max_time%3D16.1.2017%26trenner%3D%2509%26go%3DDownload

Is there any other way to take influence on the header names?

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

2 participants