explore_missing will identify missing observations within data. It will return 1 of 2 tables: (location) 1 table of the exact location in the dataframe where there is missing data or (count) another table showing how many observations are missing and the proportion of how much data is missing for each feature. Note: this function cannot detect entries of empty strings as missing.

explore_missing(data, num_rows = 0, type = "location")

Arguments

data

A data.frame: The target dataframe to explore

num_rows

integer: The number of rows above and below the missing value to output

type

character: The desired type of output (location or count)

Value

dataframe: The resultant dataframes

Examples

explore_missing(data.frame(a = c(1,2), b = c(NA, 3)))
#> a b Index #> 1 1 NA 1