consolidate_narc_mail: Consolidation of Database entries (with focus on...

Description Usage Arguments Details Value Note

Description

Consolidation of Database entries (with focus on duplications)

Usage

1
consolidate_narc_mail(db, table = "NARC_mail")

Arguments

db

The database file (SQLite).

table

The database table to be consolidated; a character vector of length 1.

Details

The default argument for the table parameter is NARC_mail. This is kept for backward compatibility with earlier code that was specifically tailored for use by this function.

Value

The functions returns a copy of the consolidated data frame. A side effect is the creation of a table through internal implementation. That table is named consolidated.

Note

In its current state, the function preloads the data internally. Thus, regardless of the way data are loaded in the global environment, they are reloaded from the table from scratch. Where the table does not have a 'serialno' column, the function fails. The real problem is the fact that the function is tailor-made for a data table that comes with specific field format. This is something that would be reconsidered in future.


DevSolutionsLtd/NARCcontacts documentation built on May 30, 2019, 6:06 p.m.