call_report.fca.InstitutionAttributeVersion#

class call_report.fca.InstitutionAttributeVersion(*, value: str | None, periods: PeriodRange)[source]#

Bases: object

One value of a name or address field, and the quarters it was reported.

FCAInstitution holds each name and address field as a tuple of these, oldest first.

Attributes:
valuestr or None

The value exactly as FCA published it. None means the roster left the field blank.

periodsPeriodRange

The consecutive quarters in which this value was reported.

Examples

>>> from call_report.core import PeriodRange
>>> from call_report.fca import InstitutionAttributeVersion
>>> version = InstitutionAttributeVersion(
...     value="Mid-America ACA",
...     periods=PeriodRange(start="2000-03-31", end="2011-09-30"),
... )
>>> version.periods[-1].label
'2011Q3'