election_day.views.opendata_swiss ================================= .. py:module:: election_day.views.opendata_swiss Functions --------- .. autoapisummary:: election_day.views.opendata_swiss.sub election_day.views.opendata_swiss.view_rdf Module Contents --------------- .. py:function:: sub(parent: xml.etree.ElementTree.Element, tag: str, attrib: dict[str, str] | None = None, text: str | None = None) -> xml.etree.ElementTree.Element .. py:function:: view_rdf(self: onegov.election_day.models.Principal, request: onegov.election_day.request.ElectionDayRequest) -> bytes Returns an XML / RDF / DCAT-AP for Switzerland format for opendata.swiss. See https://handbook.opendata.swiss/de/content/glossar/bibliothek/ dcat-ap-ch.html and https://dcat-ap.ch/ for more information.