parse_dataset function

Parse options specifying datasets