Skip to contents

If column in the x table is list unlist it if possible

Usage

unlist_if_possible(
  x,
  replace_zero_length_with = NA_character_,
  remove_empty_values = TRUE
)

Arguments

x

object

replace_zero_length_with

Default is replace NULLs with NA_character_ because vector of just NA is a logical class

remove_empty_values

remove NA, "", etc. from list elements. (see standardize_omit_empty())

Value

updated object