-
Notifications
You must be signed in to change notification settings - Fork 152
Open
Description
add an example with .null = NA
see: https://github.com/jennybc/analyze-github-stuff-with-r
and check_and_assign function here: https://github.com/socdataR/wonderapi/blob/master/R/make_codebook_vignette.R
which may be possible to eliminate
as_function()gains a.nullargument that for character and numeric
values allows you to specify what to return for null/absent elements (Submit a resource link to something that bugs you #110).
This can be used with any map function, e.g.map_int(x, 1, .null = NA)
tidyverse/purrr@da6d033
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels