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

    Function normalizeEntityId

    • The canonical form of an entity id: checked with entityIdProblem (throws AwValidationError), leading zeros dropped. The API looks the id up as a string, so 0002 would be "no such entity" although party 2 exists. Idempotent.

      Parameters

      • id: string | number

      Returns string