strengejacke / sjlabelled

Working with Labelled Data in R
https://strengejacke.github.io/sjlabelled
86 stars 11 forks source link

Please consider set F as default for as.num and atomic.to.fac #45

Closed frankcsliu closed 2 years ago

frankcsliu commented 4 years ago

I have been using survey/poll data with sjlabelled and wondering if it better serves users who are dealing with facotrs (previous spss users).

It will save much of time of tuning it back everytime when cleaning and recoding variables.

Hopefully, the two arguments will be reconsidered to set to: as.num = F atomic.to.fac = F

Thank you.

strengejacke commented 4 years ago

Not sure which functions you are referring to. For the read_*() functions, atomic.to.fac = FALSE is already the default.

frankcsliu commented 4 years ago

Sorry I meant

as.num=F for sjmisc::rec()

and atomic.to.fac=T for read_*()