data_clean: data_clean

View source: R/data_clean.R

data_cleanR Documentation

data_clean

Description

Returns the input dataframe without empty rows and columns.

Usage

data_clean(
  .data,
  .rows = TRUE,
  .columns = TRUE,
  .row_percent = 100,
  .column_percent = 100,
  .print = TRUE,
  .return_tbl_df = FALSE
)

Arguments

.data

A data.frame or tibble.

.rows

If TRUE, empty rows are omitted.

.columns

If TRUE, empty columns are omitted.

.row_percent

Integer, indicates the percentage of missing values that define an empty row.

.column_percent

Integer, indicates the percentage of missing values that define an empty column.

.print

If .print = TRUE, a short summary is returned.

.return_tbl_df

If TRUE a tibble is returned, else a data.frame is returned.

Value

A data.frame or tibble without empty rows and columns.

Examples

-

janbrederecke/prepareD documentation built on Oct. 26, 2022, 8:06 p.m.