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