Extract the data returned by a call to fetch_vd(), filter columns of interest, and find unique rows if required.
Arguments
- res
a list of responses from VecDyn as an
ohvbd.responsesobject.- cols
a character vector of columns to extract from the dataset. If specified, this will be adjusted to always include the "dataset_id" column.
- returnunique
whether to return only the unique rows within each dataset according to the filtered columns.