ps_df_to_sql: Data.frame to sql

Description Usage Arguments Value

View source: R/translate.R

Description

Draws information from a data.frame to provide code to write an sql table.

Usage

1
2
3
4
5
ps_df_to_sql(
  data,
  data_name = deparse(substitute(data)),
  table_name = tools::toTitleCase(data_name)
)

Arguments

data

A data.frame.

data_name

A string of the name of the data.frame.

table_name

A string of the name of the sql table.

Value

A string.


poissonconsulting/poissqlite documentation built on Sept. 17, 2021, 12:34 a.m.