@maschinenlesbar.org/dip-bundestag-cli
    Preparing search index...

    Function profileMember

    • A member of the Bundestag (or another DIP person) as a dossier: by id, or by name. f.person matches a complete first or last name ("Klöck" finds nothing), so the search sends the last word and keeps the people whose name holds every word given; one is the answer, several are ambiguous (common surnames: ask which). When f.person finds nobody and an electoral term is given, the term's whole list is read (DIP orders it by date, not name, so every page) and matched by name. The activities, if asked for, are those of the given term, else the latest term the person appears in, with both filters sent with every page.

      Parameters

      Returns Promise<MemberDossier>