prestaConta | R Documentation |
Create html accountability report from prestaConta okd collect form data
prestaConta( dataDir, dataName = "prestaConta", dirExp = getwd(), valParc = c(70, 100), valFixo = data.frame(nome = c("Renan"), cargo = c("coordena"), valor = c(1500)), pagaFixo = FALSE, saveFile = TRUE, fileRmd = system.file("rmd", "prestaConta.rmd", package = "Rppsp") )
dataDir |
character string, directory where a odk briefcases exports csv files. |
dataName |
character string, odk briefcase data exported prefix file name |
dirExp |
character string, directory where html report and data files will be created. |
valFixo |
data frame with 3 variables, name of field workers, job role and montly paiment. |
pagaFixo |
logic. Should include fix montly payment (valFixo) in the report? |
saveFile |
logic. Should save report data? |
fileRmd |
character string indicating the location of rmd template file. |
valPar |
numeric vector length 2. Value paid for assistant and lider field workers |
'prestaConta' returns html report file and can save data in csv format.
Alexandre Adalardo de Oliveira aleadalardo@gmail.com
## Not run: prestaConta(dataDir = getwd(), dataName="prestaConta", dirExp = getwd(), valParc = c(70,100), valFixo = data.frame(nome= c("Renan"), cargo = c("coordena"),valor = c(1500)), pagaFixo = FALSE, saveFile=FALSE, fileRmd = system.file("rmd", "prestaConta.rmd", package = "Rppsp")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.