fskim {timeplyr} | R Documentation |
Fast alternative to skimr::skim()
Description
Inspired by the brilliant skimr
package, this is a fast
alternative that provides an un-grouped data frame summary.
Usage
fskim(data, hist = FALSE)
Arguments
data |
A data frame. |
hist |
Logical. If |
Details
collapse
is used to compute the summary statistics and
data.table
is used to wrangle the data frames.
Character vectors are internally converted to factors using
collapse::qF()
.
Value
A list of length 7 with the elements:
-
nrow
- Number of rows -
ncol
- Number of columns -
logical
- Atibble
summary of the logical columns. -
numeric
- Atibble
summary of the numeric columns. -
date
- Atibble
summary of the date columns. -
datetime
- Atibble
summary of the datetime columns. -
categorical
- Atibble
summary of the categorical columns.
Examples
library(timeplyr)
library(nycflights13)
fskim(flights)
[Package timeplyr version 0.5.0 Index]