Skip to content

@alex.garcia/libfec / columns

Function: columns() ​

columns(rowType, fecVersion): Column[]

Defined in: filing.ts:136

The columns of a row type in an FEC version, in order: the keys of Row.values for such rows.

ts
columns("SA11AI", "8.4")[20] // { name: "contribution_amount", kind: "amount" }

Parameters ​

rowType ​

string

fecVersion ​

string

Returns ​

Column[]

Throws ​

MissingMappingError (with line: 0) if there is no mapping.