Computes key metrics describing a parsed dataset: its in-memory weight in kilobytes, the number of variables, the number of numeric and non-numeric variables, the number of rows and the proportion of missing values.
Arguments
- x
A data frame or tibble (a single table, e.g. one element of the list returned by
dg_pull_dataset()).- name
An optional label attached to the result (e.g. the dataset title). When
NULL(the default), the label is taken from the expression passed toxwhen possible.
Value
A tibble::tibble() with a single row and the following columns:
dataset, size_kb, n_vars, n_numeric, n_non_numeric, n_rows
and prop_missing.