compareLists: Compile missing data summary of data set

View source: R/compareLists.R

compareListsR Documentation

Compile missing data summary of data set

Description

Compares lists element-wise. Created for purpose of comparing two lists consisting of data frames, where each list is from a different data-pull date.

Usage

compareLists(list1, list2, lnames)

Arguments

list1

a list

list2

a list

lnames

a vector of length 2 supplying names of list

Details

The output is a text summary of element-wise list comparisons

Examples

l1 <- list(tmp1 = data.frame(x = 1:100, y = 100:1), tmp2 = data.frame(a = letters, b = LETTERS))
l2 <- list(tmp1 = data.frame(x = 1:99, y = 99:1), tmp2 = data.frame(a = letters[1:14], b = LETTERS[1:14]))
compareLists(l1, l2)
compareLists(l2, l1)

olsonma/mollr documentation built on Aug. 2, 2022, 9:17 p.m.