docs: def _collapse_table_root(current, dsn, pc):
      """
      Create a table with items in root given the current time series entry
      :param dict current: Current time series entry
      :param str dsn: Dataset name
      :param str pc: paleoData or chronData
      :return dict _tmp_table: Table data
      """
      logger_ts.info("enter collapse_table_root")
      _table_name, _variable_name = _get_current_names(current, dsn, pc)
      _tmp_table = {'columns': {}}
  
      try:
          for k, v in current.items():
              # These are the main table keys that we should be looking for
              for i in ['filename', 'googleWorkSheetKey', 'tableName', "missingValue", "tableMD5", "dataMD5"]:
                  if i in k:
                      try:
                          _tmp_table[i] = v
                      except Exception:
                          # Not all keys are available. It's okay if we hit a KeyError.
                          pass
      except Exception as e:
          print("Error: Unable to collapse: {}, {}".format(dsn, e))
          logger_ts.error("collapse_table_root: Unable to collapse: {}, {}, {}".format(_table_name, dsn, e))
  
      return _tmp_table