tally.dataset.DataSet.compare#

DataSet.compare(**kwargs)#

Compares types, codes, values, question labels of two datasets.

Parameters
  • dataset (object) – (quantipy.DataSet instance). Test if all variables in the provided dataset are also in self and compare their metadata definitions.

  • variables (str, array of str) – Check only these variables

  • strict ((bool, default False)) – If True lower/ upper cases and spaces are taken into account.

  • text_key (str, array of str) – Text key for text-based label information. Uses the DataSet.text_key information if not provided.