Hi,
I would like to convert a string variable (that I got to import from a .csv file and that I got in 'red' so i cannot use the variable) into numeric.
I tried using the commands destring and encode but I get an error message saying:
too many values
r(134);
I have 246 312 observations. I got to read in a few posts that since its too big, I should get the BIGTAB package. Which I did but it doesn't change anything, I still get the message error.
Do you have any suggestions? What should I do to convert my variable to numeric?
Thank you so much for your help.
I would like to convert a string variable (that I got to import from a .csv file and that I got in 'red' so i cannot use the variable) into numeric.
I tried using the commands destring and encode but I get an error message saying:
too many values
r(134);
I have 246 312 observations. I got to read in a few posts that since its too big, I should get the BIGTAB package. Which I did but it doesn't change anything, I still get the message error.
Do you have any suggestions? What should I do to convert my variable to numeric?
Thank you so much for your help.
Comment