Add inline documentation for report_data_select