pnc_ds: Process, Normalize, and, Consolidate Data Sets

Description Usage Arguments Details

View source: R/pnc.r

Description

Process, Normalize, and, Consolidate Data Sets

Usage

1
2
3
4
5
6
7
8
9
pnc_ds(
  x,
  collapse_on,
  collapse_name = names(x),
  handle_contra_vals = FALSE,
  remove_equiv_columns = TRUE,
  keep_cols = character(),
  verbose = TRUE
)

Arguments

x

a named list of data.frames.

collapse_on

which variable should be collapsed on?

collapse_name

the variable name of the collapsed sub-data.frames. Default is the names of 'x'.

handle_contra_vals

if variables have contradicting values across data.frame's, then can they be handled by using the first instance of the variable in the set? (Default FALSE) See Details for more information.

remove_equiv_columns

should equivalent columns be remove (Default FALSE).

keep_cols

columns that must be kept in the returned data.frame object.

verbose

should extra information be provided? (Default TRUE)

Details

Setting 'handle_contra_vals' to TRUE should be used with extreme caution. If it is used then the contradicting value are stored as an attribute of the consolidated data.frame and can be retrieved using the function 'get_contradictions()'.


presagia-analytics/normalizer documentation built on Dec. 12, 2019, 7:40 a.m.