ExpData: Function to generate data dictionary of a data frame
Description
This function used to produce the metadata information and data summary
Usage
ExpData(data, type = 1, fun = NULL)
Arguments
data
a data frame
type
Type 1 is overall data summary; Type 2 is variable level summary
fun
to add any additional statistics into metadata type 2 output, for example: mean, sum, etc..
Details
This function provides overall and variable level data summary like percentage of missing, variable types etc..
Type = 1, overall data summary (column names are "Descriptions Value")
Type = 2, variable level summary (column names are "Index Variable_Name Variable_Type Sample_n Missing_count Per_of_Missing No_of_distinct_values" and other statistics)