We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please specify whether your issue is about:
Writing and reading seem to mess up character vectors with leading zeroes.
data <- data.frame(x = 1, y = c("10", "05")) file <- tempfile() csvy::write_csvy(data, file, name = "abc") csvy::read_csvy(file) #> x y #> 1 1 10 #> 2 1 5 str(csvy::read_csvy(file)) #> 'data.frame': 2 obs. of 2 variables: #> $ x: num 1 1 #> $ y: chr "10" "5" #> ..- attr(*, "levels")= chr "05" "10" #> - attr(*, "profile")= chr "tabular-data-package" #> - attr(*, "name")= chr "abc"
Created on 2019-12-16 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered:
read_csvy does not use the fields metadata at all when reading columns: https://github.com/leeper/csvy/blob/master/R/read_csvy.R#L68C1-L71C6
read_csvy
Sorry, something went wrong.
No branches or pull requests
Please specify whether your issue is about:
Writing and reading seem to mess up character vectors with leading zeroes.
Created on 2019-12-16 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: