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

View source: R/0_unlist_if_possible.r

unlist_if_possibleR Documentation

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

Description

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


stasvlasov/nstandr documentation built on July 27, 2023, 10:29 p.m.