EU Parliament Monitor — API Documentation - v0.8.53
    Preparing search index...

    Interface DataWindowConfig

    Data-collection window for the horizon.

    interface DataWindowConfig {
        direction: DataWindowDirection;
        days?: number;
        anchor?: DataWindowAnchor;
    }
    Index

    Properties

    Direction relative to the anchor.

    days?: number

    Span in days. Omitted for point direction. Use the larger of any spread when direction='span' (e.g. election-cycle: 365).

    Anchor reference. Defaults to today.