Describe data
describe_data(data)a skimr object
# \donttest{
nice_data <- data.frame(c1 = c(1, NA), c2 = c(NA, NA))
nice_data %>%
describe_data()
#> ── Data Summary ────────────────────────
#> Values
#> Name Piped data
#> Number of rows 2
#> Number of columns 2
#> _______________________
#> Column type frequency:
#> logical 1
#> numeric 1
#> ________________________
#> Group variables None
#>
#> ── Variable type: logical ──────────────────────────────────────────────────────
#> skim_variable n_missing complete_rate mean count
#> 1 c2 2 0 NaN ": "
#>
#> ── Variable type: numeric ──────────────────────────────────────────────────────
#> skim_variable n_missing complete_rate mean sd p0 p25 p50 p75 p100 hist
#> 1 c1 1 0.5 1 NA 1 1 1 1 1 ▁▁▇▁▁
# }