all_rows function

Subset data rows