This function combines dataframes that are nested within a list of lists into a single dataframe.
Usage
combine_df(nested_list)
Value
A combined dataframe where each original dataframe is augmented with an ID column indicating its source list.
Arguments
nested_list
A list of lists, where each sublist contains dataframes to be combined.
Details
The function first checks if the input is a non-empty list of lists containing dataframes.
It then iterates through each sublist, combining the dataframes and adding an ID column to indicate their source.
Finally, all combined dataframes are row-bound into a single dataframe.