Given two files xx.R and xx.sql, generate a stored procedure and optionally save as xx.sql
1 | generate_stored_procedure(sp_filename_stub, dbConnection, write = FALSE)
|
sp_filename_stub |
File name stub for R code and SQL code, both stored as files with the same name but varying extensions. |
dbConnection |
Database connection string, passed to |
write |
If TRUE, writes results to xx.sp.sql |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.