save_output: Save outputs to zip file

View source: R/outputs.R

save_outputR Documentation

Save outputs to zip file

Description

Save outputs to zip file

Usage

save_output(
  filename,
  dir,
  naomi_output,
  notes = NULL,
  vmmc_path = NULL,
  overwrite = FALSE,
  with_labels = FALSE,
  boundary_format = "geojson",
  single_csv = FALSE,
  export_datapack = !single_csv
)

Arguments

filename

Name of file to create

dir

Directory to create zip in

naomi_output

Naomi output object

notes

Notes to include in output zip

vmmc_path

Path to VMMC excel workbook

overwrite

If TRUE overwrite any existing file

with_labels

If TRUE save indicator ids with labels

boundary_format

Either geojson or shp for saving boundary as geojson or shape format

single_csv

If TRUE only output the csv of indicators, otherwise save the metadata too

export_datapack

If TRUE save CSV of PEPFAR datapack indicators.

options

Naomi model options

Value

Path to created zip file


mrc-ide/naomi documentation built on April 10, 2024, 2:13 p.m.