mysql - R reading data as factor values -
i imported .csv file r of columns seem being read factors (i think correct terminology).
a little background: created file in mysql , exported there. columns being read factors ones not integer type columns in mysql. (varchar , decimals being read factors.)
for varchar , decimal columns:
> data$column_a[1] [1] 0.1186 1143 levels: 0.0000 0.0112 0.0127 0.0135 0.0139 0.0141 0.0145 0.0149 0.0152 ... null
for integer columns:
> data$column_b[1] [1] 177
i've never experienced before, , have no idea what's going on. how change they're read , column_a appear column_b does?
Comments
Post a Comment