db_rename_column: db_rename_column_name will reformat column names align to...

Description Usage Arguments Value Examples

Description

Creates a vector with reformatted columns names from input data.frame

Usage

1
db_rename_column(con, value, col_name = "Col")

Arguments

conn:

Connection to database. Can used assigned output from function connectR for the connection.

value:

Data.frame

col_name:

Column name format for columns that start with a number

Value

A vector with reformatted columns names from input data.frame

Examples

1
2
3
 #Creates a vector with reformatted column names and any column begining with a
   number with renamed to `Col[0-9]`:
   db_rename_column(post, testdata)

DyfanJones/connectR documentation built on May 23, 2019, 10:32 p.m.