export_cost_studies: Run Rmarkdown files

View source: R/run_rmarkdown.R

export_cost_studiesR Documentation

Run Rmarkdown files

Description

This function runs several Rmarkdown files to generate standardised automated reports for the Tools for Integrated Management of Childhood Illnesses (TIMCI) project.

Usage

export_cost_studies(
  cost_pid,
  cost_dir,
  research_facilities,
  report_dir,
  cost_start_date = NULL,
  cost_end_date = NULL,
  cost_lock_date = NULL,
  short = FALSE
)

Arguments

cost_pid

Numeric ID of the cost and cost-effectiveness ODK Central project

cost_dir

Path to the output folder for the cost and cost effectiveness database exports (optional)

research_facilities

Dataframe that contains the research facilities

report_dir

Path to the output folder for the generated Rmarkdown reports

cost_start_date

Cost data collection start date (optional)

cost_end_date

Cost data collection end date (optional)

cost_lock_date

Cost data collection cleaning end date for database lock (optional)

short

Short version of the export


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