Merge related objects of the specified class into the specified data frame
NmdcClient-merge_related.RdThis function merges related objects of the specified class into the specified data frame by finding related objects for the specified IDs and merging them into the data frame.
client <- NmdcClient$new()
client$merge_related(data, id_column, cls, fields = NULL)