storet_compare_count: Compare sample counts between STORET and Database

View source: R/storet.R

storet_compare_countR Documentation

Compare sample counts between STORET and Database

Description

Compares the number of samples for each unique set of values in one ore more columns between STORET and the database. If there are any differences, they will be printed to the console.

Usage

storet_compare_count(storet, db)

Arguments

storet

A named list containing one or more columns from STORET results table

db

A named list containing one or more columns from Database results table

Details

Note that the names of the two list arguments must be identical. Any names can be used to rename the original columns, with the exception of "Source" and "n" which are added by this function.

Value

nothing

Examples

storet_compare_count(storet = list(Date = storet_results$ActivityStartDate,
                                   LocationID = storet_results$MonitoringLocationIdentifier),
                     db     = list(Date = db_results$ActivityStartDate,
                                   LocationID = db_results$MonitoringLocationID))

walkerjeffd/myrwaR documentation built on Nov. 14, 2024, 1:25 p.m.