R/details_write.R

Defines functions write

write<-function(DATA){
  if(is.null(DATA)){
    message("NULL directory")
    return(NULL)
    }
  require(RMySQL)
  con <- adminKraken::con_mysql()
  dbWriteTable(con, name="mvdata",value= DATA,
               append=TRUE,overwrite = FALSE,row.names=FALSE)
  message("wrote to table")
  dbDisconnect(con)
  message("disconnect")
}
JARS3N/details documentation built on April 26, 2020, 9:16 p.m.