Projekt

Obecné

Profil

Data sources » Historie » Verze 33

Alex Konig, 2021-04-24 07:51

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 22 Alex Konig
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. Further 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 where they are.
8 4 Alex Konig
9 22 Alex Konig
To be able do display correct predictions we need to process this data in such a way that divides this data into data belonging to specific buildings. Those buildings are:
10 1 Alex Konig
11 22 Alex Konig
Buildings on campus:
12
* Fakulta strojní + ekonomická
13
* Fakulta designu a umění
14
* Fakulta aplikovaných věd
15
* Fakulta elektrotechnická
16
* Rektorát ZČU
17
* Menza
18
* Library
19
* CIV, ZV, UCV, IPC
20
* Univerzitní 14	
21 1 Alex Konig
22 22 Alex Konig
Dorms:
23
* Koleje armabeton
24
* Koleje Bory
25
* Koleje Lochotín
26
* Koleje klatovská
27 1 Alex Konig
28 22 Alex Konig
Buildings in the city:
29
* Dominikánská 9
30
* Husova 11
31
* Chodské náměstí 1
32
* Jungmannova 1, 3
33
* Klatovská 51
34
* Kollárova 19
35
* Riegrova 11, 17
36
* Sady Pětatřicátníků 14, 16
37
* Sedláčkova 15, 19, 31, 38-40, Veleslavínova 27-29, 42
38
* TESLOVA 5, 9, 9a, 11 - objekty C, F, G, H v areálu VTP Plzeň
39
* Tylova 59
40
* Veleslavínova 42
41 1 Alex Konig
42 26 Alex Konig
Data from Cheb are discarded due to the buildings being far from the others which would cause problems in vizualization and also for worries of data containing too little relevant information.
43
44 22 Alex Konig
Classroom prefixes can be divided in the following way:
45 1 Alex Konig
46 22 Alex Konig
|_. Building |_. Abbreviation |_. Room prefixes |
47 33 Alex Konig
| Fakulta strojní + ekonomická | FST+FEK  | UV, UU, UK, UL, UP, UF, UH, UD, UX |
48 22 Alex Konig
| Fakulta designu a umění | FDU | LS |
49
| Fakulta aplikovaných věd | FAV | UN, UC, US |
50
| Fakulta elektrotechnická | FEL | EU, EK, EL, EP, ES, ET, EH, EZ |
51
| Rektorát ZČU | REK | UR |
52
| Menza | MENZA | - |
53
| Library | LIB | UB |
54
| CIV, ZV, UCV, IPC | CIV | UI |
55 29 Alex Konig
| Univerzitní 14 | UNI14 | UT |
56 22 Alex Konig
| | | |
57 29 Alex Konig
| Dominikánská 9 | DOM | DD |
58 30 Alex Konig
| Husova 11 | HUS | HJ |
59 29 Alex Konig
| Chodské náměstí 1 | CHOD | CH |
60
| Jungmannova 1, 3 | JUNG | JJ |
61
| Klatovská 51 | KLAT | KL |
62
| Kollárova 19 | KOLL | KO |
63
| Riegrova 11, 17 | RIEG | RJ, RS |
64
| Sady Pětatřicátníků 14, 16 | SADY | PC, PS |
65 32 Alex Konig
| Sedláčkova 15, 19, 31, 38-40, Veleslavínova 27-29, 42 | SED+VEL | SP, SD, ST, SO, VC |
66 29 Alex Konig
| TESLOVA 5, 9, 9a, 11 - objekty C, F, G, H v areálu VTP Plzeň | TES | T, TF, TG, TH |
67
| Tylova 59 | TYL | TY, TS |
68 23 Alex Konig
| | | |
69 29 Alex Konig
| Koleje armabeton | KARMA | - |
70
| Koleje Bory | KBORY | - |
71
| Koleje Lochotín | KLOCH | - |
72
| Koleje klatovská |  KKLAT | - |
73 1 Alex Konig
74 22 Alex Konig
For buildings and room abbrevations was used this source https://ps.zcu.cz/strediska/budovy-plzen.html
75 1 Alex Konig
76 21 Alex Konig
h3. Data timescale
77
78
All availible data was started to be collected at different dates, so therefore there is different amount for each dataset.
79
80
Jis data started to be recorded on 8.4.2018
81
82
Log-ins started to be recorded on 20.10.2011
83
84
Weather data started to be recorded on 30.4.2019
85 20 Alex Konig
86
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.
87 4 Alex Konig
88
89 3 Alex Konig
h3. Historical weather data
90
91 1 Alex Konig
Link to data: http://opendata.zcu.cz/Energeticky-dispecink.html
92
93 4 Alex Konig
Data contains:
94
95
* datum_a_cas - date and time, time at which the values were measured with hour accuracy
96
* teplota - average temperature in given time slot (°C)
97 7 Alex Konig
* vitr - average wind speed in given time slot (m/s)
98 2 Alex Konig
* dest - value signifying rain (1) and no rain (0)
99 7 Alex Konig
* svetelnost - average value of luminance (k lux)
100 1 Alex Konig
101 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.
102 1 Alex Konig
103 8 Alex Konig
Lux values can be understood using the following table:
104 7 Alex Konig
105
|_. Conditions |_. Value (lux) |
106
| Sunlight | 107527 |
107
| Full Daylight	| 10752 |
108
| Overcast Day	| 1075 |
109
| Very Dark Day	| 107 |
110
| Twilight	| 10.8 |
111
| Deep Twilight	| 1.08 |
112
| Full Moon	| 0.108 |
113 1 Alex Konig
| Quarter Moon	| 0.0108 |
114 8 Alex Konig
| Starlight	| 0.0011 |
115 7 Alex Konig
| Overcast Night | 0.0001|
116
117 1 Alex Konig
Source: https://www.engineeringtoolbox.com/light-level-rooms-d_708.html
118 7 Alex Konig
119 8 Alex Konig
However, upon comparing values in data with archived weather predictions it seems more like the following table would be appropriate:
120 7 Alex Konig
121
|_. Conditions |_. Value (k lux) |
122
| Direct sungligt | >60 |
123 1 Alex Konig
| Sunny | 40-60 |
124
| Overcast | 20-40 |
125 24 Alex Konig
| Cloudy | 0-20 |
126 7 Alex Konig
| Night | 0 |
127 4 Alex Konig
128 19 Alex Konig
Used weather archive: https://www.in-pocasi.cz/archiv/archiv.php?historie=2019-12-01&region=9
129 18 Alex Konig
130 1 Alex Konig
More detailed data analysis in [[Weather at ZCU]]
131
132
h3. JIS data
133
134
Link to data: http://opendata.zcu.cz/Snimace-JIS.html
135
136
Data contains:
137
138
* datum_a_cas - timestamp of JIS authentication (accuracy in milliseconds)
139
* pocet_logu - number of authentized users in given time
140
* popis_objektu - description of object according to standard ZČU tagging
141
142
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.
143
144
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.
145 10 Alex Konig
146 24 Alex Konig
Possible solution is to assign provided spaces to buildings. More detailed data analysis of contained data in [[Jis activity - graphs]].
147 12 Alex Konig
148
|_\3. Dorms and gyms |
149 24 Alex Konig
|_. Dorm |_. Building |_. Location |
150 31 Alex Konig
| A1, A2-Hlavni vchod, A3, A2 | KARMA | on Borská street |
151
| B3-LEVY, B3-LevyVytah, B3-PRAVY, B3-PravyVytah, B3 | KBORY | on Baarova street |
152
| M16, M14 | KBORY | on Máchova street |
153
| L1, L2, L1L2-vchod | KLOCH | on Bolevecká street |
154
| L-Posilovna | KLOCH | in Bolevecká dorm | 
155
| KL-Posilovna, K1 | KKLAT | on Klatovská street |
156 12 Alex Konig
157 1 Alex Konig
158 11 Alex Konig
|_\3. Parking lots |
159 25 Alex Konig
|_. Place |_. Building |_. Notes |
160 1 Alex Konig
| Zavora-FEL | FEL | |
161 31 Alex Konig
| Zavora-Kaplirova | - | on Kaplířova street |
162 1 Alex Konig
| US 005 - závora vjezd, US 005 - mříž vjezd | FAV | |
163 20 Alex Konig
| Zavora-FDU | FDU | |
164 24 Alex Konig
| Parkoviste-vjezd, Parkoviste-vyjezd | all on campus | |
165 12 Alex Konig
| Zavora-NTIS-vjezd, Zavora-NTIS-vyjezd | FAV | |
166 31 Alex Konig
| VC-VJEZD, VC-VYJEZD | SED+VEL | on Veleslavínova street |
167 27 Alex Konig
| KolaBory-vnejsi, KolaBory-vnitrni | FST+FEK | |
168 24 Alex Konig
| EXT/kola | FST+FEK | |
169 12 Alex Konig
| EXT/kola-B | FAV | |
170 31 Alex Konig
| B3-kolarna | KBORY | on Baarova street |
171 1 Alex Konig
172 12 Alex Konig
|_\3. Food courts |
173 24 Alex Konig
|_. Name |_. Building |_. Notes |
174 12 Alex Konig
| EP-BUFET | FEL | |
175
| NTIS-BUFET | FAV | |
176 24 Alex Konig
| UV1-Bufet | FST+FEK | |
177
| MenzaKL-vydej | MENZA | |
178
| Menza4-kasa{x}| MENZA | x in range <1, 5> |
179
| Menza1-kasa-l, Menza1-kasa-p | MENZA | |
180 1 Alex Konig
181 12 Alex Konig
|_\3. Study rooms |
182 24 Alex Konig
|_. Room |_. Building |_. Notes |
183 31 Alex Konig
| STUD_VC53 | SED+VEL| on Veleslavínova street |
184
| STUD_KL20, STUD_KL87 | KLAT | on Klatovská street |
185
| STUD_PRA1 | SADY | |
186 24 Alex Konig
| STUD_UB113, STUD_UB211 | LIB | in the on campus library |
187 31 Alex Konig
| STUD_ST407 | SED+VEL | |
188 4 Alex Konig
189
190
h3. WebAuth data
191
192
Link to data: http://opendata.zcu.cz/Autentizacni-system.html
193 3 Alex Konig
194 4 Alex Konig
Data contains:
195 1 Alex Konig
196 4 Alex Konig
* datum - date of access
197 1 Alex Konig
* budova - building tag
198 4 Alex Konig
* hodina_zacatek - start of lecture
199
* hodina_konec - end of lecture
200
* pocet_prihlaseni - number of successfull sign-ins to given computer in given lecture
201 1 Alex Konig
* stroj_hostname - name of specific computer
202
* typ_objektu - type of object (classroom, laboratory, lecture room, other)
203
* ucebna_nazev - specific name of room
204 13 Alex Konig
* vyucovaci_hodina - number of lecture (according to the timetable)
205 4 Alex Konig
206 1 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.
207 18 Alex Konig
208
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).
209 4 Alex Konig
210
More detailed data analysis in [[Login activity at ZCU - graphs]].
211
212 1 Alex Konig
213 4 Alex Konig
h3. Occupancy data
214
215
Link to data: http://opendata.zcu.cz/Obsazeni-mistnosti.html
216
217 12 Alex Konig
Data contains:
218
219
* rok_platnosti - year
220
* budova - building tag
221
* ucebna_nazev - room name
222
* typ_objektu - type of room (učebna/laboratoř/posluchárna/jiné)
223
* kapacita_objektu - maximum capacity of room
224
* obsazeni - number of students enlisted
225
* predmet - abbreviation of timetable action
226
* typ_akce - type of lecture (seminář/přednáška/cvičení)
227
* vyucovaci_hodina - lesson number (according to the timetable)
228
* hodina_zacatek - lesson beggining
229 3 Alex Konig
* hodina_konec - lesson end
230 1 Alex Konig
* semestr - semester (Letní semestr/Zimní semestr)
231
* tyden - week (S(even), L(odd), K(every),J(other))
232
* tyden_v_roce -  week in the year
233 15 Alex Konig
* datum - date
234
235
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.
236 1 Alex Konig
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.
237 15 Alex Konig
How to work with lessons that are not included in these datasets is rather a topic either for [[Prediction models]] or handling user input.
238 1 Alex Konig
239
240
h2. Weather data
241
242
Link to data: http://wttr.in/Plzen,czechia?format=j1
243
244 15 Alex Konig
Data is in json file format and contains detailed weather prediction for Pilsen, CZ. For this application will be usefull mainly the following details:
245 1 Alex Konig
246 17 Alex Konig
Current weather:
247 15 Alex Konig
* localObsDateTime - date and time
248
* cloudcover - amount of clouds (values in range <0-100>)
249
* weatherDesc - weather description
250 17 Alex Konig
* temp_C - temperature (°C)
251 15 Alex Konig
* precipMM - rainfall (mm)
252
* humidity - humidity (values in range <0, 100>)
253
* windspeedKmph - wind (km/h)
254 1 Alex Konig
 
255 15 Alex Konig
Prediction:
256
* avgtempC - average temperature (°C)
257
* date - date
258
further contains hourly prediction for following information
259
* WindGustKmph - wind (km/h)
260 17 Alex Konig
* chanceofrain - chance of rain (0-100%)
261
* chanceofsnow - chance of snow (0-100%)
262 1 Alex Konig
* cloudcover - amount of clouds (values in range <0-100>)
263 15 Alex Konig
* humidity - humidity (values in range <0-100>)
264 1 Alex Konig
265
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.