I have a csv file that has 7 columns. It has empty cells and some spaces between cells. How can I replace the empty cells with NA and remove extra spaces? Thank you very much!
Here is what my file looks like, but here it seems to warp around when I copy and past it.
130070078,PPW0001,1,4,4HW ,2,15.61943874 120040039,PPW0002,0,0, ,0,0 120040043,PPW0003,1,3,3WE ,1,14.43394935
130070078,PPW0001,1,4,4HW ,2,15.61943874
120040039,PPW0002,0,0, ,0,0
120040043,PPW0003,1,3,3WE ,1,14.43394935