Save outputs to zip file

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

read_output_package(path)

Arguments

naomi_output

Naomi output object

filename

Name of file to create

dir

Directory to create zip in

notes

Notes to include in output zip

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.

path

Path to output zip file.

Value

Path to created zip file