parses the title of a resource and adds a summary function for the dataset