DHSC-Capstone/ML/0-data_prep.R

32 lines
546 B
R
Raw Normal View History

2023-01-05 08:18:18 -05:00
rm(list = ls(all.names = TRUE)) # Clear the memory of variables from previous run.
cat("\014") # Clear the console
# load packages -----------------------------------------------------------
box::use(
magrittr[`%>%`]
,RSQLite
,DBI[dbConnect,dbDisconnect]
,here[here]
)
# globals -----------------------------------------------------------------
db <- dbConnect(
RSQLite$SQLite()
,here("ML","data-unshared","mimicDB.sqlite")
)
# close database ----------------------------------------------------------
dbDisconnect(db)