R/coef_lots.R

Defines functions coef_lots

coef_lots<-function(){
  require(RMySQL)
  db<-adminKraken::con_mysql()
  q1<-RMySQL::dbSendQuery(db,"Select CONCAT(Type, `Lot Number`) AS LotNumber,`Barcode Matrix ID` AS BMID from lotview;")
  x<-suppressWarnings(RMySQL::dbFetch(q1))
  RMySQL::dbClearResult(q1)
  RMySQL::dbDisconnect(db)
  return(x)
}
JARS3N/LLP documentation built on Jan. 24, 2023, 12:12 a.m.