# Function transformCorporateBody

- transformCorporateBody(apiData: Record<string, unknown>): Committee

  Transforms EP API corporate-body data to internal Committee format.

  The real EP API returns `label` as a short abbreviation (e.g. "ENVI") while `prefLabel` contains the full multilingual committee name. We therefore prefer `prefLabel` → `altLabel` → `label` for the display name, and derive the abbreviation from `label` (always a short code in real responses) with `notation` as a higher-priority override when present.

  Cyclomatic complexity: 6

  #### Parameters

  - apiData: Record<string, unknown>

  #### Returns Committee

  - Defined in clients/ep/transformers.ts:247