generate_fu_logs: General follow-up logs

View source: R/generate_fu_logs.R

generate_fu_logsR Documentation

General follow-up logs

Description

This function runs follow-up Rmarkdown files to generate standardised follow-up logs for the Tools for Integrated Management of Childhood Illnesses (TIMCI) project.

Usage

generate_fu_logs(
  rctls_pid,
  rctls_pp,
  research_facilities,
  fu_dir,
  start_date = NULL,
  end_date = NULL,
  for_today = FALSE,
  hospitfu_ok = TRUE,
  is_pilot = FALSE
)

Arguments

rctls_pid

numeric ID of the RCT/LS ODK Central project (mandatory parameter)

rctls_pp

passphrase (mandatory parameter)

research_facilities

dataframe that contains the research facilities (mandatory parameter)

fu_dir

path to the output folder for the follow-up exports (mandatory parameter)

start_date

start date (optional parameter)

end_date

end date (optional parameter)

for_today

boolean that enables to generate the follow-up for today (defaut set to 'FALSE')

hospitfu_ok

boolean that enables to generate the hospital follow-up for today (defaut set to 'TRUE')

is_pilot

Boolean, default set to 'FALSE'


Thaliehln/timci documentation built on April 8, 2024, 3:38 p.m.