peep_dat | R Documentation |
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.
peep_dat(data)
data |
A data frame or tbl_df. |
peep_dat(mtcars)
peep_dat(datasets::airquality)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.