When large SPSS datasets are imported into R, non-numeric fields frequently have numerous blank spaces prior to the text. The blank spaces make it difficult to summarize non-numeric text. The function is applied to an entire dataframe and removes the blank spaces.
Typically a dataframe created from an imported SPSS file.
Returns a new dataframe without preceeding
Paul Bliese firstname.lastname@example.org
1 2 3 4