Save outputs to zip file

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