unnest_col {salesforcer}R Documentation

Flatten list column

Description

This function is a convenience function to handle a list column in a tbl_df. The column is unnested wide while preserving the row count.

Usage

unnest_col(df, col)

Arguments

df

tbl_df; a data frame with list column to be extracted into multiple individual columns.

col

character; the name of the column to unnest

Value

tbl_df parsed from the flattened list.

Note

This function is meant to be used internally. Only use when debugging.


[Package salesforcer version 1.0.1 Index]