Skip to content
Prev 169128 / 398506 Next

Numeric class and sasxport.get

Dear R-users,

The sasxport.get function (from the Hmisc package) automatically defines 
the class of imported variables. I have noticed that the class of 
theoretically numeric variables is simply "labelled", although character 
variables might end up been defined as "labelled" "Date" or "labelled" 
"factor".
Is there a way to tell sasxport.get to define numeric variable as 
"labelled" "integer" or "labelled" "numeric"?

Thank you

Sebastien