extract_pjnz_naomi: Extract Model Inputs from Spectrum PJNZ

View source: R/inputs-spectrum.R

extract_pjnz_naomiR Documentation

Extract Model Inputs from Spectrum PJNZ

Description

If the .shiny90 file does not exist within the .PJNZ, the function will silently not return values, even if extract_shiny90 = TRUE.

Usage

extract_pjnz_naomi(pjnz_list, extract_shiny90 = TRUE)

Arguments

pjnz_list

Vector of filepaths to Spectrum PJNZ file.

extract_shiny90

Logical; whether to attempt to extract .shiny90 zip

Value

A data.frame with Spectrum indicators.

Examples

pjnz <- system.file("extdata/demo_mwi2019.PJNZ", package = "naomi")
spec <- extract_pjnz_naomi(pjnz)


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