njtierney / naniar

Tidy data structures, summaries, and visualisations for missing data
http://naniar.njtierney.com/
Other
650 stars 54 forks source link

revamp internals to preserve data type and consider renaming `shadow_long` and `shadow_gather` functions #295

Closed njtierney closed 1 year ago

njtierney commented 2 years ago

To be more in line with pivot_longer and pivot_wider functions.

Also there is an issue with shadow_long where the data type is not preserved. In this case, one of the variables is coerced from numeric to character

image

njtierney commented 1 year ago

This has been resolved in #330. The alternate name could be shadow_longer, however I think that shadow_long still evokes the right idea, and I don't think the extra er is worth it