tidyverse / haven

Read SPSS, Stata and SAS files from R
https://haven.tidyverse.org
Other
424 stars 117 forks source link

Confusion regarding help files for as_factor functions in forcats and haven #704

Closed jakobarendt closed 1 year ago

jakobarendt commented 2 years ago

Another question and sorry, in advance, if that is not the adequate thread. But why are the help files different for forcats::as_factor and haven::as_factor if haven just imports forcats::as_factor?

Thanks for the help in advance!

image image

Originally posted by @jakobarendt in https://github.com/tidyverse/forcats/issues/79#issuecomment-1157860179

gorcha commented 1 year ago

Hi @jakobarendt, thanks for the feedback. haven provides additional as_factor methods that provide support for haven's labelled vectors, so the man page is a bit different.

We should modify the documentation to reference/link to the forcats function documentation.