powered by
Replace all the empty values in a list
replace_null(x)
A list with NULLs replaced by NA
A list
list(a = NULL, b = 1, c = list(foo = NULL, bar = NULL)) %>% replace_null()
Run the code above in your browser using DataLab