assemble_data function

Collapse a dataframe and/or a data_list into a single dataframe