gadget_clean_columns: Visually remove columns from data set

Description Usage Arguments Value Examples

View source: R/gadget_clean_columns.R

Description

Shiny gadget used to visually inspect columns in a data set and select columns to remove

Usage

1
2
3
4
5
6
7
8
gadget_clean_columns(
  data,
  rownames = TRUE,
  theme = "flatly",
  width = "100%",
  height = "600px",
  css = NULL
)

Arguments

data

A data set

rownames

logical Should rownames be included?

theme

character A bootswatch theme provided to shinythemes::shinytheme

width

character Width of the gadget (in valid css units)

height

character Height of the gadget (in valid css units)

css

character Path to a custom css file

Value

A list of length 2

data

A data.frame containing the columns that were not removed

script

A line of code that can be used to replicate cleaning performed in the gadget

A printed shiny app

Examples

1
## Not run: clean_columns(mtcars)

teachingApps documentation built on July 1, 2020, 5:58 p.m.