Closed grlurton closed 9 years ago
@grlurton -- finally looked into this.. for FACILITY (not here, but in Drive/data/input_recode_staff), I think it may be better to leave the pharmacists in a specific category and put the "preposés à la pharmacie" with the nurses. This should impact the pletore/penurie graphs, only for HGR. OK? too much work? shall i/you add an "issue"?
For INDIVIDUAL questionnaire: the categories should be in the code above. If I remember well, these come from questions on role/titre/poste in the facility.. All looks fine to me (just need to remember preposé is with labo/pharmaciste).
@mariapaola5 Facility : nope, pretty straightforward
just to be clear, keeping indivudual grouping as is ?
great, thanks.yes for individual. From: Grégoire Lurton notifications@github.com To: grlurton/DRC_HRH DRC_HRH@noreply.github.com Cc: mariapaola5 mpbertone@yahoo.com Sent: Thursday, January 8, 2015 1:18 AM Subject: Re: [DRC_HRH] Recoding of cadres for individual data (#18)
@mariapaola5 Facility : nope, pretty straightforwardjust to be clear, keeping indivudual grouping as is ?— Reply to this email directly or view it on GitHub.
RecodePost <- function(PostInit){ PostInit[PostInit %in% c('administrateur' , 'administrateur_gestionnaire')] <- 'administrateur'
PostInit[PostInit %in% c('autre' , 'Autre')] <- 'autre'
PostInit[PostInit %in% c("membre_du_personnel" , "membre_personnel")] <- 'autre'
PostInit[PostInit %in% c("technicien_labo" , "technicien_laboratoire")] <- 'labo'
PostInit[PostInit %in% c('infirmier' , 'infirmier_superviseur' , 'infirmier_titulaire' , 'directeur_nursing')] <- 'infirmier'
PostInit[PostInit %in% c("medecin" , "medecin_chef_staff" , "medecin_directeur" , "medecin_generaliste_specialiste")] <- 'medecin' PostInit }