get_itemtable function

Get a subset of items from the itemtable