generated from CorrelAid/python-bare-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Genesis Python API Wrapper
Michael Aydinbas edited this page May 5, 2022
·
4 revisions
- Klasse Statistic:
-
init mit
namefür Übergabe der ID - lädt Metadaten von
/metadata/statisticund setzt Attribut.metadata - hat Attribut
.cubes-> Liste der Cubes - hat Attribut
.tables-> Liste der Tabellen - hat Attribut
.info-> Allgemeine Angaben und Beschreibung der Statistik - hat Attribut
.variables-> Liste der Variablen - hat Methoden
.get_cube(),.get_table()undget_variable()-> liefert das entsprechende Objekt
-
init mit
Damit liese sich die Klasse so verwenden:
stat = Statistic("23211")
stat.cubes # List of cubes
stat.info # String mit Beschreibung
stat.get_cube("23211BJ001") # liefert Instanz der Cube-Klasse, Zugriff auf cube mit name 23211BJ001
stat.get_variable("TODUR1").values # Liste der Merkmalsausprägungen für diese Variable