-
Notifications
You must be signed in to change notification settings - Fork 0
/
allUsers.Rmd.txt
319 lines (164 loc) · 9.16 KB
/
allUsers.Rmd.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
---
title: "Watzek User Survey Results"
output: html_document
---
```{r message=FALSE, echo=FALSE, warning=FALSE, results='hide'}
# load packages
#list of packages
packages<-c("tidyverse", "tidytext", "sentimentr", "gt", "gtsummary")
# install packages not yet installed
installed_packages<-packages %in% rownames(installed.packages())
if(any(installed_packages==FALSE)){
install.packages(packages[!installed_packages])
}
# Packages loading, with library function
invisible(lapply(packages, library, character.only=TRUE))
```
```{r message=FALSE, echo=FALSE, warning=FALSE, results='hide'}
# load functions
source("functions.R")
# load cleaned data
userData<-read_csv("../data/cleanedUserSurveyData.csv")
```
Winter, 2024
### User Demographics
Undergraduate and graduate students were invited to take the survey. 227 users responded. The following tables show self-reported user demographics:
```{r message=FALSE, echo=FALSE, warning=FALSE}
totalUsers<-nrow(userData)
yearInSchool<-userData %>%
group_by(yearInSchool) %>%
summarize(count=n(), percent=round(count/totalUsers*100, 1)) %>%
arrange(desc(count))%>%
add_row(yearInSchool = "Total", count = totalUsers, percent = 100) %>%
rename("Year in School"=yearInSchool)
majorInSchool<-userData %>%
group_by(major) %>%
summarize(count=n(), percent=round(count/totalUsers*100, 1)) %>%
arrange(desc(count))%>%
add_row(major = "Total", count = totalUsers, percent = 100) %>%
rename("Major"=major)
divisionInSchool<-userData %>%
group_by(division) %>%
summarize(count=n(), percent=round(count/totalUsers*100, 1)) %>%
arrange(desc(count))%>%
add_row(division = "Total", count = totalUsers, percent = 100) %>%
rename("Division"=division)
campus <- userData %>%
group_by(campus) %>%
summarize(count=n(), percent=round(count/totalUsers*100, 1)) %>%
arrange(desc(count))%>%
add_row(campus = "Total", count = totalUsers, percent = 100) %>%
rename("Campus"=campus)
gt(campus) %>%
tab_options(
data_row.padding = px(1),
table.align = "left"
)
gt(yearInSchool) %>%
tab_options(
data_row.padding = px(1),
table.align = "left"
)
gt(majorInSchool) %>%
tab_options(
data_row.padding = px(1),
table.align = "left"
)
gt(divisionInSchool) %>%
tab_options(
data_row.padding = px(1),
table.align = "left"
)
```
---
---
### Survey Responses
#### How often do you visit the library for the following needs? [Studying individually]
```{r message=FALSE, warning=FALSE, echo=FALSE}
frequencyQuestion(userData, "frequencyIndividualStudy", "Individual Study, All Users", "allIndStudy.jpg", casOnly=FALSE, gradOnly = FALSE)
frequencyQuestion(userData, "frequencyIndividualStudy", "Individual Study, CAS Users", "casIndStudy.jpg", casOnly=TRUE, gradOnly = FALSE)
frequencyQuestion(userData, "frequencyIndividualStudy", "Individual Study, GRAD Users", "gradIndStudy.jpg", casOnly=FALSE, gradOnly = TRUE)
```
------------------------------------------------------------------------
#### How often do you visit the library for the following needs? [Studying in a group]
```{r message=FALSE, warning=FALSE, echo=FALSE}
frequencyQuestion(userData, "frequencyGroupStudy", "Group Study, All Users", "allGroupStudy.jpg", casOnly=FALSE, gradOnly = FALSE)
frequencyQuestion(userData, "frequencyGroupStudy", "Group Study, CAS Users", "casGroupStudy.jpg", casOnly=TRUE, gradOnly = FALSE)
frequencyQuestion(userData, "frequencyGroupStudy", "Group Study, GRAD Users", "gradGroupStudy.jpg", casOnly=FALSE, gradOnly = TRUE)
```
#### How often do you visit the library for the following needs? [Borrowing textbooks from course reserves]
```{r message=FALSE, warning=FALSE, echo=FALSE}
frequencyQuestion(userData, "frequencyCourseReserves", "Course Reserves, All Users", "allCourseReserves.jpg", casOnly=FALSE, gradOnly = FALSE)
frequencyQuestion(userData, "frequencyCourseReserves", "Course Reserves, CAS Users", "casCourseReserves.jpg", casOnly=TRUE, gradOnly = FALSE)
frequencyQuestion(userData, "frequencyCourseReserves", "Course Reserves, GRAD Users", "gradCourseReserves.jpg", casOnly=FALSE, gradOnly = TRUE)
```
#### How often do you visit the library for the following needs? [Borrowing or returning books (other than textbooks)]
```{r message=FALSE, warning=FALSE, echo=FALSE}
frequencyQuestion(userData, "frequencyBorrowingBooks", "Borrowing Books, All Users", "allBorrowingBooks.jpg", casOnly=FALSE, gradOnly = FALSE)
frequencyQuestion(userData, "frequencyBorrowingBooks", "Borrowing Books, CAS Users", "casBorrowingBooks.jpg", casOnly=TRUE, gradOnly = FALSE)
frequencyQuestion(userData, "frequencyBorrowingBooks", "Borrowing Books, GRAD Users", "gradBorrowingBooks.jpg", casOnly=FALSE, gradOnly = TRUE)
```
#### How often do you visit the library for the following needs? [Getting help from a librarian]
```{r message=FALSE, warning=FALSE, echo=FALSE}
frequencyQuestion(userData, "frequencyGetHelp", "Getting Help, All Users", "allGetHelp.jpg", casOnly=FALSE, gradOnly = FALSE)
frequencyQuestion(userData, "frequencyGetHelp", "Getting Help, CAS Users", "casGetHelp.jpg", casOnly=TRUE, gradOnly = FALSE)
frequencyQuestion(userData, "frequencyGetHelp", "Getting Help, GRAD Users", "gradGetHelp.jpg", casOnly=FALSE, gradOnly = TRUE)
```
#### How often do you visit the library for the following needs? [Viewing an exhibit]
```{r message=FALSE, warning=FALSE, echo=FALSE}
#frequencyQuestion(userData, "frequencyExhibit", "Viewing Exhibits, All Users", "allViewExhibits.jpg", casOnly=FALSE, gradOnly = #FALSE)
col<-"frequencyExhibit"
lab<-"Viewing Exhibits"
im<-"ViewExhibits"
frequencyQuestion(userData, col, paste(lab,", All Users"), paste("all",im,".jpg", sep=""), casOnly=FALSE, gradOnly = FALSE)
frequencyQuestion(userData, col, paste(lab, ", CAS Users"), paste("cas",im,".jpg", sep=""), casOnly=TRUE, gradOnly = FALSE)
frequencyQuestion(userData, col, paste(lab,", GRAD Users"), paste("grad",im,".jpg", sep=""), casOnly=FALSE, gradOnly = TRUE)
```
#### How often do you visit the library for the following needs? [Printing]
```{r message=FALSE, warning=FALSE, echo=FALSE}
#frequencyQuestion(userData, "frequencyPrinting", "Printing, All Users", "allPrinting.jpg", casOnly=FALSE, gradOnly = FALSE)
col<-"frequencyPrinting"
lab<-"Printing"
im<-"Printing"
frequencyQuestion(userData, col, paste(lab,", All Users"), paste("all",im,".jpg", sep=""), casOnly=FALSE, gradOnly = FALSE)
frequencyQuestion(userData, col, paste(lab, ", CAS Users"), paste("cas",im,".jpg", sep=""), casOnly=TRUE, gradOnly = FALSE)
frequencyQuestion(userData, col, paste(lab,", GRAD Users"), paste("grad",im,".jpg", sep=""), casOnly=FALSE, gradOnly = TRUE)
```
#### How often do you visit the library for the following needs? [Library computers (other than printing)]
```{r message=FALSE, warning=FALSE, echo=FALSE}
#frequencyQuestion(userData, "frequencyComputers", "Computers, All Users", "allComputers.jpg", casOnly=FALSE, gradOnly = FALSE)
col<-"frequencyComputers"
lab<-"Computers"
im<-"Computers"
frequencyQuestion(userData, col, paste(lab,", All Users"), paste("all",im,".jpg", sep=""), casOnly=FALSE, gradOnly = FALSE)
frequencyQuestion(userData, col, paste(lab, ", CAS Users"), paste("cas",im,".jpg", sep=""), casOnly=TRUE, gradOnly = FALSE)
frequencyQuestion(userData, col, paste(lab,", GRAD Users"), paste("grad",im,".jpg", sep=""), casOnly=FALSE, gradOnly = TRUE)
```
#### How often do you visit the library for the following needs? [Getting help from the IT Service Desk]
```{r message=FALSE, warning=FALSE, echo=FALSE}
#frequencyQuestion(userData, "frequencyIT", "IT, All Users", "allIT.jpg", casOnly=FALSE, gradOnly = FALSE)
col<-"frequencyIT"
lab<-"IT"
im<-"IT"
frequencyQuestion(userData, col, paste(lab,", All Users"), paste("all",im,".jpg", sep=""), casOnly=FALSE, gradOnly = FALSE)
frequencyQuestion(userData, col, paste(lab, ", CAS Users"), paste("cas",im,".jpg", sep=""), casOnly=TRUE, gradOnly = FALSE)
frequencyQuestion(userData, col, paste(lab,", GRAD Users"), paste("grad",im,".jpg", sep=""), casOnly=FALSE, gradOnly = TRUE)
```
#### How often do you visit the library for the following needs? [Getting help at the Writing Center]
```{r message=FALSE, warning=FALSE, echo=FALSE}
#frequencyQuestion(userData, "frequencyWriting", "Writing Center, All Users", "allIT.jpg", casOnly=FALSE, gradOnly = FALSE)
col<-"frequencyWriting"
lab<-"Writing Center"
im<-"Writing Center"
frequencyQuestion(userData, col, paste(lab,", All Users"), paste("all",im,".jpg", sep=""), casOnly=FALSE, gradOnly = FALSE)
frequencyQuestion(userData, col, paste(lab, ", CAS Users"), paste("cas",im,".jpg", sep=""), casOnly=TRUE, gradOnly = FALSE)
frequencyQuestion(userData, col, paste(lab,", GRAD Users"), paste("grad",im,".jpg", sep=""), casOnly=FALSE, gradOnly = TRUE)
```
```{r}
col<-"needsQuietStudy"
lab<-"Queiet Study"
im<-"needsQuietStudy"
needsQuestion(userData, col, paste(lab,", All Users"), paste("all",im,".jpg", sep=""), casOnly=FALSE, gradOnly = FALSE)
needsQuestion(userData, col, paste(lab, ", CAS Users"), paste("cas",im,".jpg", sep=""), casOnly=TRUE, gradOnly = FALSE)
needsQuestion(userData, col, paste(lab,", GRAD Users"), paste("grad",im,".jpg", sep=""), casOnly=FALSE, gradOnly = TRUE)
```