data_extract_spec function

Data extract input for teal modules