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

Fread Could Use an Argument for col.names #768

Closed
dardesta opened this issue Aug 15, 2014 · 1 comment
Closed

Fread Could Use an Argument for col.names #768

dardesta opened this issue Aug 15, 2014 · 1 comment
Assignees
Milestone

Comments

@dardesta
Copy link

Is there a plan in the works for fread to includ an argument for col.names similar to the one found in read.table? In my work I receive files whose data starts on the first row, and fread assumes that the column names should be set to what is found in the first row.

@dardesta
Copy link
Author

On a similar topic, I did notice an inconsistency between fread and read.csv. When importing a csv file with columns named Address and Address , read.csv will bring it in as Address and Address.1 whereas fread brings it as Address and Address . This could happen, if for instance, the first occurence of Address refers to a billing address and the second refers to a shipping address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants