db_arrange_variables: Function to arrange variables in a data frame/tibble to match...

View source: R/db_arrange_variables.R

db_arrange_variablesR Documentation

Function to arrange variables in a data frame/tibble to match those found in a database table.

Description

db_arrange_variables is useful for preparing data for insert.

Usage

db_arrange_variables(con, table, df)

Arguments

con

Database connection.

table

Table name in database.

df

Data frame/tibble.

Value

df, possibly with rearranged and/or additional variables.

Author(s)

Stuart K. Grange


skgrange/databaser documentation built on Sept. 26, 2024, 8:30 p.m.