a data.frame that contains variable, class, distinct values,
missing values, percentage of missing value and sample value
Details
This function helps when one wants to get a quick snapshot of the data such as class,
distinct values, missing values and sample value of the variables.
It works for both 'data.frame' and 'data.table' but the output will be a 'data.frame' only.