rm_list_cols: Remove list columns and return a tibble

View source: R/misc.R

rm_list_colsR Documentation

Remove list columns and return a tibble

Description

Remove list columns and return a tibble

Usage

rm_list_cols(x)

Arguments

x

An R object with the class "data.frame"; others will be ignored and the original will be silently returned untouched. Particularly useful for removing sf geometry columns which slow down operation and visualisation of other data in the dataframe

Value

The same object as x but without the list columns


AltfunsMA/cptools documentation built on Aug. 7, 2022, 5:44 p.m.