inst/helpful_scripts/database_postgres.R

#set up database connection
if(!"con_inv" %in% ls()){
 library("RPostgreSQL")
 con_inv=dbConnect(dbDriver("PostgreSQL"),dbname="inventory",host="localhost",port="5432",user="postgres",password="0000")
}
jstrunk001/RForInvt documentation built on April 17, 2025, 5:02 p.m.