compare_data: Compare existing variables and meta data structure between...

View source: R/compare_data.R

compare_dataR Documentation

Compare existing variables and meta data structure between two data sets.

Description

Compare existing variables and meta data structure between two data sets.

Usage

compare_data(
  data1,
  data2,
  name_data1 = "data1",
  name_data2 = "data2",
  metaExceptions = c("display_width", "labeled")
)

Arguments

data1

Data set one, provided as a GADSdat object.

data2

Data set two, provided as a GADSdat object.

name_data1

Character vector of length 1. Name of data1.

name_data2

Character vector of length 1. Name of data2.

metaExceptions

Should certain meta data columns be excluded from the comparison?

Details

The function performs a comparison between two GADSdat objects. Variables included in each data set are compared and reported, as well as meta data differences (variable labels, SPSS format, value labels, missing tags).

Examples

# tbd

beckerbenj/eatFDZ documentation built on June 11, 2025, 6:49 a.m.