pas.constants

Attributes

COMMON_PARTY_NAMES

These values were obtained by running the following command:

commission_expected_headers_variant_1

commission_expected_headers_variant_2

diff

Module Contents

pas.constants.COMMON_PARTY_NAMES = ('ALG', 'CSP', 'Die Mitte', 'FDP', 'GLP', 'CVP', 'Parteilos', 'Piratenpartei', 'SP', 'SVP')[source]

These values were obtained by running the following command:

onegov-pas –select ‘/onegov_pas/zug’ import-commission-data “name_of_commission.xlsx”

And then, inside the preprocess* function printing out the header_row.

pas.constants.commission_expected_headers_variant_1 = ['ID', 'Personalnummer', 'Vertragsnummer', 'Geschlecht', 'Vorname', 'Nachname', 'Versandart',...[source]
pas.constants.commission_expected_headers_variant_2 = ['q', 'Personalnummer', 'Vertragsnummer', 'Geschlecht', 'Vorname', 'Nachname', 'Versandart',...[source]
pas.constants.diff = ['Austritt', 'Eintritt', 'Funktion', 'Im Kantonsrat seit', 'Kantonsrat', 'Funktion', 'Rolle', 'q'][source]