EU Parliament Monitor — API Documentation - v0.8.6
    Preparing search index...
    • Write the analysis run manifest to {runDir}/manifest.json.

      The manifest records the run metadata for downstream consumers of the analysis output, including the framework version, article types analysed, and methods applied.

      Parameters

      • runDir: string

        Date-stamped run directory (from initializeAnalysisDirectory)

      • articleTypes: readonly ArticleCategory[]

        Article types included in this run

      • methodsUsed: readonly ClassificationMethod[]

        Classification methods applied

      • OptionalstartDate: string

        Optional ISO timestamp for when the run started; defaults to now

      Returns AnalysisRunManifest

      The completed manifest object

      const manifest = writeAnalysisManifest(
      runDir,
      [ArticleCategory.COMMITTEE_REPORTS],
      ['impact-matrix']
      );