whitespace in dataframe

13 views
Skip to first unread message

Ross Ahmed

unread,
Jan 26, 2013, 2:57:09 AM1/26/13
to project...@googlegroups.com
Can I set ProjectTemplate to fill whitespace with NAs when loading in data? If not, how can I fill whitespace with NAs after having loaded the data?

John Myles White

unread,
Jan 26, 2013, 9:17:47 AM1/26/13
to project...@googlegroups.com
I would add a function like this to the munging steps. You could rewrite the contents of munge/01-A.R to call a function replaces whitespaces with NA's in any data set that you'd like.

I don't know of a function to do this in R off the top of my head, but think it shouldn't be too hard to write.

-- John
Reply all
Reply to author
Forward
0 new messages