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

Multiple strings for missing values #125

Closed
TonyLadson opened this issue Apr 13, 2015 · 4 comments
Closed

Multiple strings for missing values #125

TonyLadson opened this issue Apr 13, 2015 · 4 comments

Comments

@TonyLadson
Copy link
Contributor

@TonyLadson TonyLadson commented Apr 13, 2015

I'm working on files that use many different strings to specify missing values e.g. "" (blank), NA, na, nr, nd. read_csv seems to only allow a single string.

read_csv("x,y\n1,2\n3,4\nna,NA", na = c('NA','na'))
Error: expecting a single value

It would be great if I could include multiple strings in the specification of missing values.

Thank you for all your work on readr. It is very fast.

@rpruim
Copy link

@rpruim rpruim commented May 8, 2015

I'll second this motion.

@hadley
Copy link
Member

@hadley hadley commented May 11, 2015

(This is the flip side of #114)

@jennybc
Copy link
Member

@jennybc jennybc commented May 23, 2015

👍

@mdlincoln
Copy link

@mdlincoln mdlincoln commented Jun 2, 2015

👍 on this, and again on #114 😄

@hadley hadley closed this in 6f4c9cc Jul 8, 2015
@lock lock bot locked and limited conversation to collaborators Sep 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants