Browse Source

Corrección ficheros clinics.

main
Marin Jimenez 3 years ago
parent
commit
473eee46ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      RellenarOVBD.R

+ 1
- 1
RellenarOVBD.R

@ -81,7 +81,7 @@ rownames(upd.samples)<-(nsamples+1):(nsamples+nrow(upd.samples)) %>% as.characte
sqlSave(dta, upd.samples, tablename="SAMPLES", append = T) sqlSave(dta, upd.samples, tablename="SAMPLES", append = T)
## Añadir datos clínicos modificados a la base de datos ## Añadir datos clínicos modificados a la base de datos
upd.samples<-read.xlsx("QuerySamplesOV.xlsx", sheet = "CLINICS",detectDates = T)
upd.samples<-read.xlsx("QueryOV.xlsx", sheet = "CLINICS",detectDates = T)
ovid.mod<-upd.clinics$OVID[upd.clinics$OVID %in% (sqlFetch(dta, "CLINICS") %>% pull(OVID))] ovid.mod<-upd.clinics$OVID[upd.clinics$OVID %in% (sqlFetch(dta, "CLINICS") %>% pull(OVID))]
rnames<-sqlFetch(dta, "CLINICS") %>% filter(OVID %in% ovid.mod) %>% rownames rnames<-sqlFetch(dta, "CLINICS") %>% filter(OVID %in% ovid.mod) %>% rownames
clinics.mod<-upd.clinics %>% filter(OVID %in% ovid.mod) %>% select(-NHC) clinics.mod<-upd.clinics %>% filter(OVID %in% ovid.mod) %>% select(-NHC)

Loading…
Cancel
Save