scan_data: Scan a data frame to determine the percentage of 'missing',...

View source: R/clean_data_helpers.R

scan_dataR Documentation

Scan a data frame to determine the percentage of missing, numeric, Date, character, and logical values in every column.

Description

Scan a data frame to determine the percentage of missing, numeric, Date, character, and logical values in every column.

Usage

scan_data(data)

Arguments

data

A data frame or linelist

Value

A data frame or linelist with the same columns as the input data and 5 rows representing the percentage of missing, numeric, date, character, and logical values in each column.

Examples

scan_result <- scan_data(
  data = readRDS(system.file("extdata", "messy_data.RDS",
                             package = "cleanepi"))
)

cleanepi documentation built on June 22, 2024, 9:48 a.m.