EU Parliament Monitor — API Documentation - v0.8.20
    Preparing search index...
    • Extract the method: value from YAML frontmatter in a markdown string.

      Analysis files produced by the pipeline embed the canonical method ID in their frontmatter (e.g. method: coalition-analysis). When this differs from the filename (e.g. coalition-dynamics.md), the frontmatter value is the authoritative key for strategy lookups.

      Parameters

      • content: string

        Raw markdown content

      Returns string | null

      The frontmatter method value, or null if absent/unparseable