Projekt

Obecné

Profil

Data sources » Historie » Verze 21

Alex Konig, 2021-04-08 19:21

1 1 Alex Konig
h1. Data sources
2 2 Alex Konig
3 12 Alex Konig
h2. ZČU open data
4 1 Alex Konig
5 4 Alex Konig
All ZČU data can be downloaded in formats xml, csv and json.
6
7
As discussed in further chapters there are certain complications with data sources not providing sufficient data granuality or amount. However there is a possibility that the data will in future contain more suitable datasets, and such should be at least acknowledged to some degree. However this is more of a topic for [[Prediction models]], where it will be further discussed.
8
9 12 Alex Konig
Table with faculties and room prefixes belonging to those faculties:
10 1 Alex Konig
11 12 Alex Konig
|_. Faculty |_. Abbreviation |_. Room prefix |
12 15 Alex Konig
| Fakulta strojní | FST | UV, UU, UK, UL, UP, UF, UT |
13 12 Alex Konig
| Fakulta ekonomická | FEK | UV, UU, UK, UL, UP, UF |
14
| Fakulta elektrotechnická | FEL | EU, EK, EL, EP, ES, ET, EH, EZ |
15
| Fakulta designu a umění | FDU | LS |
16
| Fakulta filozofická | FF | JJ, RJ, RS, SP, SD, ST, SO |
17
| Fakulta pedagogická | FPE | CH, VC, KL | 
18
| Fakulta ekonomická Cheb | FEK-CH ? | CD |
19 15 Alex Konig
| Fakulta zdravotních studií | FZS | HJ, DD |
20 1 Alex Konig
| Fakulta aplikovaných věd | FAV | UN, UC,US |
21
| Fakulta právnická | FPR | PC, PS |
22 15 Alex Konig
23
Table with "special" buildings:
24
25 16 Alex Konig
|_. Building name |_. Abbreviation |_. Room prefix |
26 14 Alex Konig
| Centrum informatice a výpočetní techniky| CIV | UI |
27
| Univerzitní knihovna ZČU | | UB |
28 1 Alex Konig
| Rektorát ZČU | | UR |
29 20 Alex Konig
| Tylova 59 - currently incative | | TS, TY |
30 15 Alex Konig
| Ředitelství PS a SKM | | KO |
31
| Stavovská unie studentů | | RS |
32
| Nové technologie - výzkumné centrum | | T, TF, TG, TH |
33
| Regionální technologický institut | | UH, UD, UX |
34 1 Alex Konig
35 20 Alex Konig
How to assign "special" buidlings (knihovna, ředitelství) to faculties? Currently ignored
36 1 Alex Konig
37 20 Alex Konig
Thorough the data standard university tags are used, however in some cases there is no source to find out what they mean (for example "parkoviště" or "STUD-PRA1") so we had to assume
38 1 Alex Konig
39
For university tags was used this source: https://ps.zcu.cz/strediska/budovy-plzen.html#kampus
40
41 20 Alex Konig
h3. Data timescale
42 1 Alex Konig
43 21 Alex Konig
All availible data was started to be collected at different dates, so therefore there is different amount for each dataset.
44
45
Jis data started to be recorded on 8.4.2018
46
47
Log-ins started to be recorded on 20.10.2011
48
49
Weather data started to be recorded on 30.4.2019
50
51
Since jis and log-in data seems to follow the same trends every recorded year we decided to go off of data we have availible weather data, so from 30.4.2019 forward.
52 20 Alex Konig
53
54 4 Alex Konig
h3. Historical weather data
55
56 3 Alex Konig
Link to data: http://opendata.zcu.cz/Energeticky-dispecink.html
57
58 1 Alex Konig
Data contains:
59
60 4 Alex Konig
* datum_a_cas - date and time, time at which the values were measured with hour accuracy
61
* teplota - average temperature in given time slot (°C)
62
* vitr - average wind speed in given time slot (m/s)
63
* dest - value signifying rain (1) and no rain (0)
64 7 Alex Konig
* svetelnost - average value of luminance (k lux)
65 2 Alex Konig
66 7 Alex Konig
For further processing luminance will be translated to the terms "sunny", "overcast" and "cloudy". In the 2019 data are values between 0 and 83.2k lux.
67 1 Alex Konig
68 7 Alex Konig
Lux values can be understood using the following table:
69 1 Alex Konig
70 8 Alex Konig
|_. Conditions |_. Value (lux) |
71 7 Alex Konig
| Sunlight | 107527 |
72
| Full Daylight	| 10752 |
73
| Overcast Day	| 1075 |
74
| Very Dark Day	| 107 |
75
| Twilight	| 10.8 |
76
| Deep Twilight	| 1.08 |
77
| Full Moon	| 0.108 |
78
| Quarter Moon	| 0.0108 |
79
| Starlight	| 0.0011 |
80 1 Alex Konig
| Overcast Night | 0.0001|
81 8 Alex Konig
82 7 Alex Konig
Source: https://www.engineeringtoolbox.com/light-level-rooms-d_708.html
83
84 1 Alex Konig
However, upon comparing values in data with archived weather predictions it seems more like the following table would be appropriate:
85 7 Alex Konig
86 8 Alex Konig
|_. Conditions |_. Value (k lux) |
87 7 Alex Konig
| Direct sungligt | >60 |
88
| Sunny | 40-60 |
89
| Overcast | 20-40 |
90 1 Alex Konig
| Cloudy | 10-20 |
91 7 Alex Konig
| Night | 0 |
92 8 Alex Konig
93 7 Alex Konig
Used weather archive: https://www.in-pocasi.cz/archiv/archiv.php?historie=2019-12-01&region=9
94 4 Alex Konig
95 19 Alex Konig
More detailed data analysis in [[Weather at ZCU]]
96 18 Alex Konig
97 1 Alex Konig
h3. JIS data
98
99
Link to data: http://opendata.zcu.cz/Snimace-JIS.html
100
101
Data contains:
102
103
* datum_a_cas - timestamp of JIS authentication (accuracy in milliseconds)
104
* pocet_logu - number of authentized users in given time
105
* popis_objektu - description of object according to standard ZČU tagging
106
107
On the linked page there is written that " ... Data about dorms, the entry to laboratories and other spaces with restricted access, informations about university canteen, checkouts in univeristy library, access to copy machines etc can be interesting for students ...". However not all of these places can be found in said data. In data from 2019 are present only 46 different places, and most of them are dorms, parking lots and buffets.
108
109
There is a possibility that in the future the number of logged places will increase, however it is also possible that the data was affected by GDPR and more detailed data now won't be provided for the public anymore.
110
111 18 Alex Konig
Possible solution is to assign provided spaces to faculties. More detailed data analysis in [[Jis activity - graphs]].
112 10 Alex Konig
113 12 Alex Konig
|_\3. Dorms and gyms |
114
| A1, A2-Hlavni vchod, A3   | all | on Borská street |
115
| B3-LEVY | all | on Baarova street |
116
| M16, M14 | all | on Máchova street |
117 17 Alex Konig
| L1, L2, L1L2-vchod | all | on Bolevecká street |
118
| L-Posilovna | none | in Bolevecká dorm | 
119 10 Alex Konig
| KL-Posilovna | none | on Klatovská street |
120 1 Alex Konig
121 12 Alex Konig
122
|_\3. Parking lots |
123 11 Alex Konig
| Zavora-FEL | FEL | |
124 12 Alex Konig
| Zavora-Kaplirova | all | on Kaplířova street |
125
| US 005 - závora vjezd, US 005 - mříž vjezd | FAV | |
126 11 Alex Konig
| Zavora-FDU | FDU | |
127 20 Alex Konig
| Parkoviste-vjezd, Parkoviste-vyjezd | all | |
128 12 Alex Konig
| Zavora-NTIS-vjezd, Zavora-NTIS-vyjezd | FAV | |
129
| VC-VJEZD, VC-VYJEZD | FPE | on Veleslavínova street |
130
| KolaBory-vnejsi, KolaBory-vnitrni | all | |
131
| EXT/kola | FST | |
132
| EXT/kola-B | FAV | |
133
| B3-kolarna | all | on Baarova street |
134 1 Alex Konig
135
|_\3. Food courts |
136 12 Alex Konig
| EP-BUFET | FEL | |
137
| NTIS-BUFET | FAV | |
138
| UV1-Bufet | FEK | |
139
| MenzaKL-vydej |all | |
140 4 Alex Konig
| Menza4-kasa{x}| all | x in range <1, 5> |
141
| Menza1-kasa-l, Menza1-kasa-p | all | |
142
143 12 Alex Konig
|_\3. Study rooms |
144 1 Alex Konig
| STUD_VC53 | FPE | |
145 12 Alex Konig
| STUD_CHEB | FEK-CH | |
146
| STUD_KL20, STUD_KL87 | FPE | |
147 17 Alex Konig
| STUD_PRA1 | FPR | |
148 12 Alex Konig
| STUD_UB113, STUD_UB211 | all | in the on campus library |
149
| STUD_ST407 | FF | |
150 4 Alex Konig
151
152
h3. WebAuth data
153
154
Link to data: http://opendata.zcu.cz/Autentizacni-system.html
155
156
Data contains:
157 3 Alex Konig
158 4 Alex Konig
* datum - date of access
159 1 Alex Konig
* budova - building tag
160 4 Alex Konig
* hodina_zacatek - start of lecture
161 1 Alex Konig
* hodina_konec - end of lecture
162 4 Alex Konig
* pocet_prihlaseni - number of successfull sign-ins to given computer in given lecture
163
* stroj_hostname - name of specific computer
164
* typ_objektu - type of object (classroom, laboratory, lecture room, other)
165 1 Alex Konig
* ucebna_nazev - specific name of room
166
* vyucovaci_hodina - number of lecture (according to the timetable)
167
168 13 Alex Konig
On the linked page there is written that "... Signing in using orion login and password can also help track sign-ins to computers at ZČU and corresponding activity in computer laboratories ..." however it seems quesstionable if really all computer logins are in this data. Since it contains only 106 different rooms for all of ZČU in data from  the year 2019, which seems suspicious especially since some rooms that we know that they are equipped with computers and are being used (at least sometimes) are not present.
169 4 Alex Konig
170 1 Alex Konig
So, it would be possible to again assign those rooms to the appropriate buldings using the table at the beggining of ZČU open data chapter and go off the assumption that a similar set of students will be attending lessons in the same building (which is often the case at least with KIV lectures).
171 18 Alex Konig
172
More detailed data analysis in [[Login activity at ZCU - graphs]].
173 4 Alex Konig
174
175
h3. Occupancy data
176 1 Alex Konig
177 4 Alex Konig
Link to data: http://opendata.zcu.cz/Obsazeni-mistnosti.html
178
179
Data contains:
180
181 12 Alex Konig
* rok_platnosti - year
182
* budova - building tag
183
* ucebna_nazev - room name
184
* typ_objektu - type of room (učebna/laboratoř/posluchárna/jiné)
185
* kapacita_objektu - maximum capacity of room
186
* obsazeni - number of students enlisted
187
* predmet - abbreviation of timetable action
188
* typ_akce - type of lecture (seminář/přednáška/cvičení)
189
* vyucovaci_hodina - lesson number (according to the timetable)
190
* hodina_zacatek - lesson beggining
191
* hodina_konec - lesson end
192
* semestr - semester (Letní semestr/Zimní semestr)
193 3 Alex Konig
* tyden - week (S(even), L(odd), K(every),J(other))
194 1 Alex Konig
* tyden_v_roce -  week in the year
195
* datum - date
196
197 15 Alex Konig
It seems possible that not all lessons that are taught on ZČU are included in this data. Data from 2019+2020 contains only 1202 unique lesson instances.
198
Also there are some instances without assigned building and room name, however this shouldn't be an issue since lessons are usually looked up by their abbrevation, not by room.
199
How to work with lessons that are not included in these datasets is rather a topic either for [[Prediction models]] or handling user input.
200 1 Alex Konig
201 15 Alex Konig
202 1 Alex Konig
h2. Weather data
203
204
Link to data: http://wttr.in/Plzen,czechia?format=j1
205
206
Data is in json file format and contains detailed weather prediction for Pilsen, CZ. For this application will be usefull mainly the following details:
207
208 15 Alex Konig
Current weather:
209 1 Alex Konig
* localObsDateTime - date and time
210 17 Alex Konig
* cloudcover - amount of clouds (values in range <0-100>)
211 15 Alex Konig
* weatherDesc - weather description
212
* temp_C - temperature (°C)
213
* precipMM - rainfall (mm)
214 17 Alex Konig
* humidity - humidity (values in range <0, 100>)
215 15 Alex Konig
* windspeedKmph - wind (km/h)
216
 
217
Prediction:
218 1 Alex Konig
* avgtempC - average temperature (°C)
219 15 Alex Konig
* date - date
220
further contains hourly prediction for following information
221
* WindGustKmph - wind (km/h)
222
* chanceofrain - chance of rain (0-100%)
223
* chanceofsnow - chance of snow (0-100%)
224 17 Alex Konig
* cloudcover - amount of clouds (values in range <0-100>)
225
* humidity - humidity (values in range <0-100>)
226 1 Alex Konig
227 15 Alex Konig
In current data precipMM and in prediction chance of rain specifies rain value. From cloudcover can be estimated values such as sunny/overcast and cloudy.