I have built a dataset (list of IDs) by applying custom R Functions over data(Table1) fetched from database. (Basically filtered the IDs that fall in a range between lower a