get_data_subset function

Get data subset for a specific geom