append_facile_table: Adds rows to a table in a FacileDataSet

View source: R/db-and-table-functions.R

append_facile_tableR Documentation

Adds rows to a table in a FacileDataSet

Description

This function first checks the data in the target table table_name to ensure that rows in dat that exist in table_name (by checking the primary key) are not added.

Usage

append_facile_table(dat, x, table_name, warn_existing = FALSE)

Arguments

dat

the data.frame of rows to add to the table, which must have a superset of columns present in the table_name that is being appended to

x

the FacileDataSet

table_name

the name of the table in x to add the rows of dat to.

Value

invisibly returns the conformed version of dat.


facilebio/FacileData documentation built on Feb. 23, 2024, 9:14 a.m.