apply_fixes: Apply fixes to databases

View source: R/fixing.R

apply_fixesR Documentation

Apply fixes to databases

Description

Apply fixes to databases

Usage

apply_fixes(
  databases,
  fixes,
  unique_id_col,
  id_col,
  verbose = FALSE,
  force_fix = FALSE
)

Arguments

databases

A named list of data.frame objects The list names correspond to the entry in the database column of the fix file.

fixes

A data.frame containing the verified fixes. Must have been through anara::verify_fixes.

unique_id_col

The column name for the column that is the surrogate key in all databases

id_col

The column name for the column that is the primary key in all databases

verbose

Produces logging messages if TRUE

force_fix

If TRUE, applies fixes identified as problematic in anara::verify_fixes. Generally an unsafe operation!

Value

A list of corrected data.frames


nyuglobalties/anara documentation built on July 17, 2024, 4:05 p.m.