OuhscBbmc / OuhscMunge

Data manipulation operations
http://ouhscbbmc.github.io/OuhscMunge/
Other
1 stars 4 forks source link

`first_nonmissing()` accepts codes for NA #85

Closed wibeasley closed 5 years ago

wibeasley commented 5 years ago

so the caller doesn't have to

  1. convert to the codes to NA, with something like dplyr_na_if().
  2. find the first nonmissing
  3. coalesce the values with something like "unknown"

Only the 2nd step is necessary.

@arpeters, This will help simplify the deduplication step run in all the MIECHV ellises.