Closed thfuchs closed 4 years ago
Hi @TFcfgo, great catch! Fixed!
Thanks for your feedback and proposed code. I didn't use glue
but sprintf
, which is pretty similar and don't have dependencies. This was a very old (almost forgotten) code and changing it to pivot_longer
is a great call.
Please, do share your insights and EDA libraries and discoveries.
Cheers ;)
Hey laresbernardo, thanks for the very nice package! I'm currently investigating several packages for EDA, yours has a very broad range!
The
missingness
function has a slight bug - it's displaying not all variables containingNA
in the "with" section and does not calculate percentage missing for them.https://github.com/laresbernardo/lares/blob/6b87a600ec4ed1074e0974b2e651879d2876b113/R/missings.R#L30-L61
I've found this is due to
tidyr::gather
not working as expected and can be easily solved by using the new functiontidyr::pivot_longer
Here I have the plot function (I also used
glue
forpaste
in the note)