Browse Source

Mejorar el escriturado de la pestaña nhc de la plantilla.

main
del Carpio Huerta 2 years ago
parent
commit
1be48b44fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sqlFunctions.R

+ 1
- 1
sqlFunctions.R

@ -165,7 +165,7 @@ sqlWriteTemp<-function(conn=dta, nhcs=nhc.test, file="queryOV.xlsx", samples.mod
## Exportar tablas a la plantilla de entrada para su rellenado
wb <- loadWorkbook(file)
writeData(wb, "NHC", upd.umid)
writeData(wb, "NHC", merge(data.frame("NHC"=nhcs), upd.umid, sort = F))
if (samples.mod){writeData(wb,"samples",samples.exp)}
if (clinics.mod){writeData(wb,"CLINICS",upd.clinics)}
saveWorkbook(wb,file,overwrite = TRUE)

Loading…
Cancel
Save