pas.cli
Attributes
Functions
|
Import commission data from an Excel or csv file. |
Module Contents
- type pas.cli.Processor = Callable[[TownRequest, PasApp], None][source]
- pas.cli.import_commission_data(excel_file: str) Processor [source]
Import commission data from an Excel or csv file.
Assumes that the name of the commission is the filename.
Each row of this import contains a single line, which is a single parliamentarian and all the information about them.
- Example:
onegov-pas –select ‘/onegov_pas/zug’ import-commission-data “Kommission_Gesundheit_und_Soziales.xlsx”