1 | .. _export: |
---|
2 | |
---|
3 | Data Export |
---|
4 | *********** |
---|
5 | |
---|
6 | Regular data exporters (1) collect objects from specific containers, (2) iterate over the collected objects, (3) extract and mangle information from each object, (4) write the information of each object into a row of a CSV file and (5) finally provide the file for download. The CSV file is neither stored in the database nor archived in the filesystem. (3) and (4) means a flattening of the hierarchical data structure, i.e. a mapping of objects to flat relational data to be stored in a CSV table. The extracted information must not necessarily be based only on static attributes of the collected object. The data, finally stored in the CSV file, can also be derived from parent or child objects, or dynamically computed by the object's methods and property attributes. These methods and properties can retrieve information from everywhere in the portal's database. |
---|
7 | |
---|
8 | In the following we list all exporter classes including two attributes and a method description. The `fields` attribute contain the column titles of the export file. These are not necessarily only attributes of the exported objects. |
---|
9 | |
---|
10 | .. note:: |
---|
11 | |
---|
12 | The list of exported columns usually underlies heavy customizations. In the Kofa base package only very few columns are being exported. In some Kofa custom packages tons of data are being gathered from applicants and students and the number of columns increase accordingly. |
---|
13 | |
---|
14 | The `title` attribute unveils the name of the exporter under which this exporter will be displayed in the user interface. The `mangle_value()` method shows how some of fields are being dynamically computed. |
---|
15 | |
---|
16 | Regular Exporters |
---|
17 | ================= |
---|
18 | |
---|
19 | User Exporter |
---|
20 | ------------- |
---|
21 | |
---|
22 | .. autoclass:: waeup.kofa.userscontainer.UserExporter() |
---|
23 | :noindex: |
---|
24 | |
---|
25 | .. autoattribute:: waeup.kofa.userscontainer.UserExporter.fields |
---|
26 | .. autoattribute:: waeup.kofa.userscontainer.UserExporter.title |
---|
27 | .. automethod:: waeup.kofa.userscontainer.UserExporter.mangle_value() |
---|
28 | |
---|
29 | Faculty Exporter |
---|
30 | ---------------- |
---|
31 | |
---|
32 | .. autoclass:: waeup.kofa.university.export.FacultyExporter() |
---|
33 | :noindex: |
---|
34 | |
---|
35 | .. autoattribute:: waeup.kofa.university.export.FacultyExporter.fields |
---|
36 | .. autoattribute:: waeup.kofa.university.export.FacultyExporter.title |
---|
37 | .. automethod:: waeup.kofa.university.export.FacultyExporter.mangle_value() |
---|
38 | |
---|
39 | Department Exporter |
---|
40 | ------------------- |
---|
41 | |
---|
42 | .. autoclass:: waeup.kofa.university.export.DepartmentExporter() |
---|
43 | :noindex: |
---|
44 | |
---|
45 | .. autoattribute:: waeup.kofa.university.export.DepartmentExporter.fields |
---|
46 | .. autoattribute:: waeup.kofa.university.export.DepartmentExporter.title |
---|
47 | .. automethod:: waeup.kofa.university.export.DepartmentExporter.mangle_value() |
---|
48 | |
---|
49 | Course Exporter |
---|
50 | --------------- |
---|
51 | |
---|
52 | .. autoclass:: waeup.kofa.university.export.CourseExporter() |
---|
53 | :noindex: |
---|
54 | |
---|
55 | .. autoattribute:: waeup.kofa.university.export.CourseExporter.fields |
---|
56 | .. autoattribute:: waeup.kofa.university.export.CourseExporter.title |
---|
57 | .. automethod:: waeup.kofa.university.export.CourseExporter.mangle_value() |
---|
58 | |
---|
59 | Certificate Exporter |
---|
60 | -------------------- |
---|
61 | |
---|
62 | .. autoclass:: waeup.kofa.university.export.CertificateExporter() |
---|
63 | :noindex: |
---|
64 | |
---|
65 | .. autoattribute:: waeup.kofa.university.export.CertificateExporter.fields |
---|
66 | .. autoattribute:: waeup.kofa.university.export.CertificateExporter.title |
---|
67 | .. automethod:: waeup.kofa.university.export.CertificateExporter.mangle_value() |
---|
68 | |
---|
69 | Certificate Course Exporter |
---|
70 | --------------------------- |
---|
71 | |
---|
72 | .. autoclass:: waeup.kofa.university.export.CertificateCourseExporter() |
---|
73 | :noindex: |
---|
74 | |
---|
75 | .. autoattribute:: waeup.kofa.university.export.CertificateCourseExporter.fields |
---|
76 | .. autoattribute:: waeup.kofa.university.export.CertificateCourseExporter.title |
---|
77 | .. automethod:: waeup.kofa.university.export.CertificateCourseExporter.mangle_value() |
---|
78 | |
---|
79 | Access Code Batch Exporter |
---|
80 | -------------------------- |
---|
81 | |
---|
82 | .. autoclass:: waeup.kofa.accesscodes.export.AccessCodeBatchExporter() |
---|
83 | :noindex: |
---|
84 | |
---|
85 | .. autoattribute:: waeup.kofa.accesscodes.export.AccessCodeBatchExporter.fields |
---|
86 | .. autoattribute:: waeup.kofa.accesscodes.export.AccessCodeBatchExporter.title |
---|
87 | |
---|
88 | Access Code Exporter |
---|
89 | -------------------- |
---|
90 | |
---|
91 | .. autoclass:: waeup.kofa.accesscodes.export.AccessCodeExporter() |
---|
92 | :noindex: |
---|
93 | |
---|
94 | .. autoattribute:: waeup.kofa.accesscodes.export.AccessCodeExporter.fields |
---|
95 | .. autoattribute:: waeup.kofa.accesscodes.export.AccessCodeExporter.title |
---|
96 | .. automethod:: waeup.kofa.accesscodes.export.AccessCodeExporter.mangle_value() |
---|
97 | |
---|
98 | Hostel Exporter |
---|
99 | --------------- |
---|
100 | |
---|
101 | .. autoclass:: waeup.kofa.hostels.export.HostelExporter() |
---|
102 | :noindex: |
---|
103 | |
---|
104 | .. autoattribute:: waeup.kofa.hostels.export.HostelExporter.fields |
---|
105 | .. autoattribute:: waeup.kofa.hostels.export.HostelExporter.title |
---|
106 | |
---|
107 | Bed Exporter |
---|
108 | ------------ |
---|
109 | |
---|
110 | .. autoclass:: waeup.kofa.hostels.export.BedExporter() |
---|
111 | :noindex: |
---|
112 | |
---|
113 | .. autoattribute:: waeup.kofa.hostels.export.BedExporter.fields |
---|
114 | .. autoattribute:: waeup.kofa.hostels.export.BedExporter.title |
---|
115 | |
---|
116 | Application Data Exporters |
---|
117 | ========================== |
---|
118 | |
---|
119 | Applicants Container Exporter |
---|
120 | ----------------------------- |
---|
121 | |
---|
122 | .. autoclass:: waeup.kofa.applicants.export.ApplicantsContainerExporter() |
---|
123 | :noindex: |
---|
124 | |
---|
125 | .. autoattribute:: waeup.kofa.applicants.export.ApplicantsContainerExporter.fields |
---|
126 | .. autoattribute:: waeup.kofa.applicants.export.ApplicantsContainerExporter.title |
---|
127 | |
---|
128 | Applicant Exporter |
---|
129 | ------------------ |
---|
130 | |
---|
131 | .. autoclass:: waeup.kofa.applicants.export.ApplicantExporter() |
---|
132 | :noindex: |
---|
133 | |
---|
134 | .. autoattribute:: waeup.kofa.applicants.export.ApplicantExporter.fields |
---|
135 | .. autoattribute:: waeup.kofa.applicants.export.ApplicantExporter.title |
---|
136 | .. automethod:: waeup.kofa.applicants.export.ApplicantExporter.mangle_value() |
---|
137 | |
---|
138 | Student Data Exporters |
---|
139 | ---------------------- |
---|
140 | |
---|
141 | When starting a Student Data Exporter in the Data Center all student records will be taken into consideration, no matter what or where a student is studying. The exporter can also be started 'locally' at various levels in the academic section. Starting one of the exporters e.g. at faculty or department level means that only the data of students are exported who study in this faculty or department respectively. The exporter can also be started at certificate level. Then only the data of students, who are studying the named study course, will be taken into account. At course level the data of those students are being exported who have attended or taken this specific course. |
---|
142 | |
---|
143 | Student Data Exporter can be further configured through a configuration page. Search parameters like the student's current level, current session and current study mode can be set to filter sets of students in order to decrease the size of the export file. The set of filter parameters varies and depends on the 'locatation' from where the exporter is called. A completely different set of filter parameters is provided for courses. In this case the session and level can be selected when the course was taken by the student. |
---|
144 | |
---|
145 | Student Exporter |
---|
146 | ---------------- |
---|
147 | |
---|
148 | .. autoclass:: waeup.kofa.students.export.StudentExporter() |
---|
149 | :noindex: |
---|
150 | |
---|
151 | .. autoattribute:: waeup.kofa.students.export.StudentExporter.fields |
---|
152 | .. autoattribute:: waeup.kofa.students.export.StudentExporter.title |
---|
153 | .. automethod:: waeup.kofa.students.export.StudentExporter.mangle_value() |
---|
154 | |
---|
155 | Student Study Course Exporter |
---|
156 | ----------------------------- |
---|
157 | |
---|
158 | .. autoclass:: waeup.kofa.students.export.StudentStudyCourseExporter() |
---|
159 | :noindex: |
---|
160 | |
---|
161 | .. autoattribute:: waeup.kofa.students.export.StudentStudyCourseExporter.fields |
---|
162 | .. autoattribute:: waeup.kofa.students.export.StudentStudyCourseExporter.title |
---|
163 | .. automethod:: waeup.kofa.students.export.StudentStudyCourseExporter.mangle_value() |
---|
164 | |
---|
165 | Student Study Level Exporter |
---|
166 | ---------------------------- |
---|
167 | |
---|
168 | .. autoclass:: waeup.kofa.students.export.StudentStudyLevelExporter() |
---|
169 | :noindex: |
---|
170 | |
---|
171 | .. autoattribute:: waeup.kofa.students.export.StudentStudyLevelExporter.fields |
---|
172 | .. autoattribute:: waeup.kofa.students.export.StudentStudyLevelExporter.title |
---|
173 | .. automethod:: waeup.kofa.students.export.StudentStudyLevelExporter.mangle_value() |
---|
174 | |
---|
175 | Course Ticket Exporter |
---|
176 | ---------------------- |
---|
177 | |
---|
178 | .. autoclass:: waeup.kofa.students.export.CourseTicketExporter() |
---|
179 | :noindex: |
---|
180 | |
---|
181 | .. autoattribute:: waeup.kofa.students.export.CourseTicketExporter.fields |
---|
182 | .. autoattribute:: waeup.kofa.students.export.CourseTicketExporter.title |
---|
183 | .. automethod:: waeup.kofa.students.export.CourseTicketExporter.mangle_value() |
---|
184 | |
---|
185 | Student Payments Exporter |
---|
186 | ------------------------- |
---|
187 | |
---|
188 | .. autoclass:: waeup.kofa.students.export.StudentPaymentsExporter() |
---|
189 | :noindex: |
---|
190 | |
---|
191 | .. autoattribute:: waeup.kofa.students.export.StudentPaymentsExporter.fields |
---|
192 | .. autoattribute:: waeup.kofa.students.export.StudentPaymentsExporter.title |
---|
193 | .. automethod:: waeup.kofa.students.export.StudentPaymentsExporter.mangle_value() |
---|
194 | |
---|
195 | Bed Tickets Exporter |
---|
196 | -------------------- |
---|
197 | |
---|
198 | .. autoclass:: waeup.kofa.students.export.BedTicketsExporter() |
---|
199 | :noindex: |
---|
200 | |
---|
201 | .. autoattribute:: waeup.kofa.students.export.BedTicketsExporter.fields |
---|
202 | .. autoattribute:: waeup.kofa.students.export.BedTicketsExporter.title |
---|
203 | .. automethod:: waeup.kofa.students.export.BedTicketsExporter.mangle_value() |
---|
204 | |
---|
205 | The above exporters refer to a specific content type (object class). They export all attributes of these objects and a few additional parameters derived from the parent objects. These exporters can be used for reimport, or more precisely for backing up and restoring data. The following 'special' exporters are made on request of some universities to collect and compose student data for analysis and postprocessing by the university. |
---|
206 | |
---|
207 | DataForBursary Exporter |
---|
208 | ----------------------- |
---|
209 | |
---|
210 | .. autoclass:: waeup.kofa.students.export.DataForBursaryExporter() |
---|
211 | :noindex: |
---|
212 | |
---|
213 | .. autoattribute:: waeup.kofa.students.export.DataForBursaryExporter.fields |
---|
214 | .. autoattribute:: waeup.kofa.students.export.DataForBursaryExporter.title |
---|
215 | .. automethod:: waeup.kofa.students.export.DataForBursaryExporter.mangle_value() |
---|
216 | |
---|
217 | Student Payments Overview Exporter |
---|
218 | ---------------------------------- |
---|
219 | |
---|
220 | .. autoclass:: waeup.kofa.students.export.StudentPaymentsOverviewExporter() |
---|
221 | :noindex: |
---|
222 | |
---|
223 | .. autoattribute:: waeup.kofa.students.export.StudentPaymentsOverviewExporter.fields |
---|
224 | .. autoattribute:: waeup.kofa.students.export.StudentPaymentsOverviewExporter.title |
---|
225 | .. autoattribute:: waeup.kofa.students.export.StudentPaymentsOverviewExporter.curr_year |
---|
226 | .. automethod:: waeup.kofa.students.export.StudentPaymentsOverviewExporter.mangle_value() |
---|
227 | |
---|
228 | Student Study Levels Overview Exporter |
---|
229 | -------------------------------------- |
---|
230 | |
---|
231 | .. autoclass:: waeup.kofa.students.export.StudentStudyLevelsOverviewExporter() |
---|
232 | :noindex: |
---|
233 | |
---|
234 | .. autoattribute:: waeup.kofa.students.export.StudentStudyLevelsOverviewExporter.fields |
---|
235 | .. autoattribute:: waeup.kofa.students.export.StudentStudyLevelsOverviewExporter.title |
---|
236 | .. automethod:: waeup.kofa.students.export.StudentStudyLevelsOverviewExporter.mangle_value() |
---|
237 | |
---|
238 | Combo Card Data Exporter |
---|
239 | ------------------------ |
---|
240 | |
---|
241 | .. autoclass:: waeup.kofa.students.export.ComboCardDataExporter() |
---|
242 | :noindex: |
---|
243 | |
---|
244 | .. autoattribute:: waeup.kofa.students.export.ComboCardDataExporter.fields |
---|
245 | .. autoattribute:: waeup.kofa.students.export.ComboCardDataExporter.title |
---|
246 | .. automethod:: waeup.kofa.students.export.ComboCardDataExporter.mangle_value() |
---|