peep_dat: Peep at your data

View source: R/peep_dat.R

peep_datR Documentation

Peep at your data

Description

Get a quick overview of your data set:

  • Number of observations,

  • Number of variables,

  • Number of duplicates,

  • Number of rows with missing values,

  • Number of columns with missing values,

  • Number of cells with missing values.

This is meant to just give some quick counts. I like to "peep" my data set and paste this output in my code as I am cleaning and munging. For a deeper look, I suggest dplyr::glimpse() which is where the inspiration for this function except I don't always want to see the columns and I want more details than base::dim().

janitor::get_dupes is great for exploring duplicates. The naniar package is best for exploring the missing values in your data.

Usage

peep_dat(data)

Arguments

data

A data frame or tbl_df.

Examples

peep_dat(mtcars)

peep_dat(datasets::airquality)

emilelatour/lamisc documentation built on April 9, 2024, 10:33 a.m.