save_output_package: Save outputs to zip file

View source: R/outputs.R

save_output_packageR Documentation

Save outputs to zip file

Description

Save outputs to zip file

Usage

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


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