@maschinenlesbar.org/openka-cli
    Preparing search index...

    Function documentRole

    • What kind of document a result row's primary entry is.

      The row reads " - ; …", and the type is not always the question. Schleswig-Holstein files the Vorgang under "Antwort", because it publishes the Kleine Anfrage and the government's reply as a single Drucksache — its Fundstelle says so: "Kleine Anfrage Birte Pauls (SPD) und Antwort MSJFSIG". Labelling that document question_pdf is not a cosmetic error: the extractor picks which document to read by role, and a combined paper filed as a question looks like an Anfrage nobody answered.

      Parameters

      • rowSummary: string
      • fundstelle: string

      Returns "question_pdf" | "answer_pdf" | "combined_pdf" | "metadata"