data_dict_extract function

Generate a data dictionary from a dataset