Browse Source

Poder cambiar la ruta de la función sqlInitialize.

main
Costa 2 years ago
parent
commit
52f5ad865d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      sqlFunctions.R

+ 2
- 2
sqlFunctions.R

@ -13,13 +13,13 @@ sqlLastDrop<-function(conn, tablename, droplast=1,dbtype=NULL){
sqlSave(conn, table, tablename = tablename, safer = F)}
}
sqlInitialize<-function(){
sqlInitialize<-function(ruta="ruta_database.R"){
library(tidyverse)
library(RODBC)
library(openxlsx)
## Conexión a la base de datos
source("ruta_database.R", encoding = "UTF-8")
source(ruta, encoding = "UTF-8")
}
sqlBackUp<-function(dbfile=file,conn=dta,bu.dir=NULL){

Loading…
Cancel
Save