scan_data {cleanepi}R 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"))
)

[Package cleanepi version 1.0.2 Index]