flatten_data.list() will check if each item in the list has the same class. If so, iterate over each item and let its method dispatch.

# S3 method for class 'list'
flatten_data(x, ...)

Arguments

x

A list of one or more collections of data frames to be flattened.

...

Arguments passed on to methods.