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

Compact string representation for col_types (feature request) #515

Closed
pm321 opened this issue Nov 1, 2018 · 1 comment
Closed

Compact string representation for col_types (feature request) #515

pm321 opened this issue Nov 1, 2018 · 1 comment

Comments

@pm321
Copy link

pm321 commented Nov 1, 2018

readr has a nice method for parsing column types - compact string representation:
“Alternatively, you can use a compact string representation where each character represents one column: c = character, i = integer, n = number, d = double, l = logical, D = date, T = date time, t = time, ? = guess, or _/- to skip the column.”

I have tried this with readxl but get an error, for example:
Illegal column type: 'cciiiiccccclccc' [1]

Would it be possible to incorporate compact string representation for col_types in readxl?

@jennybc
Copy link
Member

jennybc commented Nov 1, 2018

Yes this is #198

@jennybc jennybc closed this as completed Nov 1, 2018
@lock lock bot locked and limited conversation to collaborators Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants