Hello,
I'm faced with two issues while importing a csv file into SAS.
First, after the file has been imported (vis proc import), I noticed that ALL my variable types are in character including those that need be in numeric. Is this normal? I know I can convert them back to numeric, but is there a way to import them into proper types?
Second, I also noticed that some of the variable lengths were truncated after importing. IE, a numeric variable with valid values of 0-100 would need at least 3 digits in length, but were cut to 1 after importing.
I'm not sure if this makes sense. Any help would be greatly appreciated. Thanks in advance!
I'm faced with two issues while importing a csv file into SAS.
First, after the file has been imported (vis proc import), I noticed that ALL my variable types are in character including those that need be in numeric. Is this normal? I know I can convert them back to numeric, but is there a way to import them into proper types?
Second, I also noticed that some of the variable lengths were truncated after importing. IE, a numeric variable with valid values of 0-100 would need at least 3 digits in length, but were cut to 1 after importing.
I'm not sure if this makes sense. Any help would be greatly appreciated. Thanks in advance!