Skip to content

voiage.ecosystem_integration.RPackageConnector

SDK-free JSON profile connector for health-economic records.

import_bcea_results([positional or keyword] self: None = None, [positional or keyword] file_path: str = None) -> dict[str, Any]

Import a voiage BCEA-inspired JSON profile.

Args: file_path: Path to profile JSON; native R objects are unsupported

BCEA results in voiage compatible format

Parameters:

  • self
  • file_path str

Returns: dict[str, Any]

export_for_bcea([positional or keyword] self: None = None, [positional or keyword] health_analysis: HealthEconomicsAnalysis = None, [positional or keyword] output_path: str = None, [positional or keyword] num_simulations: int = 10000) -> None

Export a voiage BCEA-inspired JSON profile.

The output is not asserted to be a native BCEA object or a verified producer/consumer round trip.

Args: health_analysis: Health economics analysis to export output_path: Output file path num_simulations: Number of Monte Carlo simulations

Parameters:

  • self
  • health_analysis HealthEconomicsAnalysis
  • output_path str
  • num_simulations int (default: 10000)

Returns: None

import_hesim_results([positional or keyword] self: None = None, [positional or keyword] file_path: str = None) -> dict[str, Any]

Import a voiage hesim-inspired JSON profile.

Args: file_path: Path to profile JSON; native R objects are unsupported

HE-Sim results in voiage compatible format

Parameters:

  • self
  • file_path str

Returns: dict[str, Any]