Administering the Dataverse Collection
Figure 3B. Support Capacity by Inst Size
data <- data %>% mutate(total_valid_Q6_small = case_when(
(Q6_1 == 1 | Q6_2 == 1 | Q6_3 == 1 | Q6_4 == 1 | Q6_5 == 1 | Q6_6 == 1 | Q6_7 == 1 | Q6_8 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q6_small <- sum(data$total_valid_Q6_small, na.rm=TRUE)
Fig3B_Small <- ggplot(data=subset(data_Q6_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q6_small), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Other",
"Students",
"Archivist(s)",
"IT or technical services staff",
"Other university department support role",
"Library technician(s) or analyst(s)",
"Liaison/Subject Librarian(s)",
"Functional Librarian(s)"))
Fig3B_Small <- Fig3B_Small + theme_grey() + coord_flip() + theme(axis.text = element_text(size = 12)) +
labs(y = "", x = "") + ggtitle("Small Institutions (n = 9)")
data <- data %>% mutate(total_valid_Q6_medium = case_when(
(Q6_1 == 1 | Q6_2 == 1 | Q6_3 == 1 | Q6_4 == 1 | Q6_5 == 1 | Q6_6 == 1 | Q6_7 == 1 | Q6_8 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q6_medium <- sum(data$total_valid_Q6_medium, na.rm=TRUE)
Fig3B_Medium <- ggplot(data=subset(data_Q6_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q6_medium), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Other",
"Students",
"Archivist(s)",
"IT or technical services staff",
"Other university department support role",
"Library technician(s) or analyst(s)",
"Liaison/Subject Librarian(s)",
"Functional Librarian(s)"))
Fig3B_Medium <- Fig3B_Medium + theme_grey() + coord_flip() + theme(axis.text = element_text(size = 12)) +
labs(y = "", x = "") + ggtitle("Medium Institutions (n = 16)")
data <- data %>% mutate(total_valid_Q6_large = case_when(
(Q6_1 == 1 | Q6_2 == 1 | Q6_3 == 1 | Q6_4 == 1 | Q6_5 == 1 | Q6_6 == 1 | Q6_7 == 1 | Q6_8 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q6_large <- sum(data$total_valid_Q6_large, na.rm=TRUE)
Fig3B_Large <- ggplot(data=subset(data_Q6_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q6_large), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Other",
"Students",
"Archivist(s)",
"IT or technical services staff",
"Other university department support role",
"Library technician(s) or analyst(s)",
"Liaison/Subject Librarian(s)",
"Functional Librarian(s)"))
Fig3B_Large <- Fig3B_Large + theme_grey() + coord_flip() + theme(axis.text = element_text(size = 12)) +
labs(y = "", x = "") + ggtitle("Large Institutions (n = 21)")
title3B <- ggdraw() + draw_label("Who of the following are involved in the administration of your institutional Dataverse collection?",
x = 0.5, hjust = 0.5, size = 13) +
theme(plot.margin = margin(0, 0, 0, 7))
#Bring plots together
Fig3B <- plot_grid(title3B,
Fig3B_Small, Fig3B_Medium, Fig3B_Large,
ncol = 1, rel_heights = c(0.1,1,1,1))
Fig3B

# ggsave("figure3b.png")
Figure 8. Challenges experienced
Q12_vars <- c("ResponseId", "Institution_Size", "Q12_1", "Q12_2", "Q12_3", "Q12_4", "Q12_5", "Q12_6", "Q12_7", "Q12_8",
"Q12_9", "Q12_10", "Q12_11")
data_Q12 <- data[Q12_vars]
data_Q12$Q12_1 <-factor(data_Q12$Q12_1,
levels = c(1),
labels = c("Lack of support or buy-in from institution or library administration"))
data_Q12$Q12_2 <-factor(data_Q12$Q12_2,
levels = c(1),
labels = c("Budget"))
data_Q12$Q12_3 <-factor(data_Q12$Q12_3,
levels = c(1),
labels = c("Staffing resources and/or capacity"))
data_Q12$Q12_4 <-factor(data_Q12$Q12_4,
levels = c(1),
labels = c("Researcher awareness"))
data_Q12$Q12_5 <-factor(data_Q12$Q12_5,
levels = c(1),
labels = c("Lack of incentives/rewards for data deposit/sharing"))
data_Q12$Q12_6 <-factor(data_Q12$Q12_6,
levels = c(1),
labels = c("Administrator knowledge of the Dataverse platform"))
data_Q12$Q12_7 <-factor(data_Q12$Q12_7,
levels = c(1),
labels = c("Technical functionality of the Dataverse software"))
data_Q12$Q12_8 <-factor(data_Q12$Q12_8,
levels = c(1),
labels = c("Technical support for users"))
data_Q12$Q12_9 <-factor(data_Q12$Q12_9,
levels = c(1),
labels = c("Developing institutional guidelines/policy"))
data_Q12$Q12_10 <-factor(data_Q12$Q12_10,
levels = c(1),
labels = c("Other"))
data_Q12$Q12_11 <-factor(data_Q12$Q12_11,
levels = c(1),
labels = c("None"))
data_Q12_long <- data_Q12 %>%
pivot_longer(Q12_1:Q12_11)
data <- data %>% mutate(total_valid_Q12 = case_when(
Q12_1 == 1 | Q12_2 == 1 | Q12_3 == 1 | Q12_4 == 1 | Q12_5 == 1 | Q12_6 == 1 | Q12_7 == 1 | Q12_8 == 1 | Q12_9 ==1 | Q12_10 == 1 | Q12_11 == 1 ~ 1
))
total_responses_Q12 <- sum(data$total_valid_Q12, na.rm=TRUE)
Fig8A <-
ggplot(data=subset(data_Q12_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q12), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("None",
"Other",
"Technical support for users",
"Budget",
"Lack of support or buy-in from institution or library administration",
"Administrator knowledge of the Dataverse platform",
"Technical functionality of the Dataverse software",
"Staffing resources and/or capacity",
"Developing institutional guidelines/policy",
"Lack of incentives/rewards for data deposit/sharing",
"Researcher awareness")) +
theme_grey() + theme(axis.text=element_text(size=15)) + coord_flip() + labs(x = "", y = "", title = str_wrap("What challenges have you faced in administering your institutional Dataverse collection?", width=50)) +theme(
plot.title = element_text(size = 25),
axis.title.x = element_text(size = 15),
axis.title.y = element_text(size = 15),
axis.text = element_text(size = 15))
Fig8A

# ggsave("figure8a.png")
Figure 8B. Challenges Experienced by Inst Size
data <- data %>% mutate(total_valid_Q12_small = case_when(
(Q12_1 == 1 | Q12_2 == 1 | Q12_3 == 1 | Q12_4 == 1 | Q12_5 == 1 | Q12_6 == 1 | Q12_7 == 1 | Q12_8 == 1 | Q12_9 ==1 | Q12_10 == 1 | Q12_11 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q12_small <- sum(data$total_valid_Q12_small, na.rm=TRUE)
Fig8B_Small <- ggplot(data=subset(data_Q12_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q12_small), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("None",
"Other",
"Technical support for users",
"Budget",
"Lack of support or buy-in from institution or library administration",
"Administrator knowledge of the Dataverse platform",
"Technical functionality of the Dataverse software",
"Staffing resources and/or capacity",
"Developing institutional guidelines/policy",
"Lack of incentives/rewards for data deposit/sharing",
"Researcher awareness"))
Fig8B_Small <- Fig8B_Small + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) +
labs(y = "", x = "", title = str_wrap("Small Institutions (n = 9)")) + theme(plot.title = element_text(size = 20))
data <- data %>% mutate(total_valid_Q12_medium = case_when(
(Q12_1 == 1 | Q12_2 == 1 | Q12_3 == 1 | Q12_4 == 1 | Q12_5 == 1 | Q12_6 == 1 | Q12_7 == 1 | Q12_8 == 1 | Q12_9 ==1 | Q12_10 == 1 | Q12_11 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q12_medium <- sum(data$total_valid_Q12_medium, na.rm=TRUE)
Fig8B_Medium <- ggplot(data=subset(data_Q12_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q12_medium), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("None",
"Other",
"Technical support for users",
"Budget",
"Lack of support or buy-in from institution or library administration",
"Administrator knowledge of the Dataverse platform",
"Technical functionality of the Dataverse software",
"Staffing resources and/or capacity",
"Developing institutional guidelines/policy",
"Lack of incentives/rewards for data deposit/sharing",
"Researcher awareness"))
Fig8B_Medium <- Fig8B_Medium + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) +
labs(y = "", x = "", title = str_wrap("Medium Institutions (n = 16)")) + theme(plot.title = element_text(size = 20))
data <- data %>% mutate(total_valid_Q12_large = case_when(
(Q12_1 == 1 | Q12_2 == 1 | Q12_3 == 1 | Q12_4 == 1 | Q12_5 == 1 | Q12_6 == 1 | Q12_7 == 1 | Q12_8 == 1 | Q12_9 ==1 | Q12_10 == 1 | Q12_11 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q12_large <- sum(data$total_valid_Q12_large, na.rm=TRUE)
Fig8B_Large <- ggplot(data=subset(data_Q12_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q12_large), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("None",
"Other",
"Technical support for users",
"Budget",
"Lack of support or buy-in from institution or library administration",
"Administrator knowledge of the Dataverse platform",
"Technical functionality of the Dataverse software",
"Staffing resources and/or capacity",
"Developing institutional guidelines/policy",
"Lack of incentives/rewards for data deposit/sharing",
"Researcher awareness"))
Fig8B_Large <- Fig8B_Large + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) +
labs(y = "", x = "", title = str_wrap("Large Institutions (n = 21)")) + theme(plot.title = element_text(size = 20))
title8B <- ggdraw() + draw_label("What challenges have you faced in administering your institutional
Dataverse collection?", size = 25, fontface = 'bold') +
theme(plot.margin = margin(0, 0, 0, 7))
#Bring plots together
Fig8B <- plot_grid(title8B,
Fig8B_Small, Fig8B_Medium, Fig8B_Large,
ncol = 1, rel_heights = c(0.3,1,1,1))
Fig8B

# ggsave("figure8b.png")
Aggregate results
#Figure 9A. Support DMP Development
Q16_vars <- c("ResponseId", "Institution_Size", "Q16_1", "Q16_2", "Q16_3", "Q16_4", "Q16_5", "Q16_6")
data_Q16 <- data[Q16_vars]
data_Q16$Q16_1 <-factor(data_Q16$Q16_1,
levels = c(1),
labels = c("Library"))
data_Q16$Q16_2 <-factor(data_Q16$Q16_2,
levels = c(1),
labels = c("Research Office"))
data_Q16$Q16_3 <-factor(data_Q16$Q16_3,
levels = c(1),
labels = c("IT"))
data_Q16$Q16_4 <-factor(data_Q16$Q16_4,
levels = c(1),
labels = c("Other"))
data_Q16$Q16_5 <-factor(data_Q16$Q16_5,
levels = c(1),
labels = c("None"))
data_Q16$Q16_6 <-factor(data_Q16$Q16_6,
levels = c(1),
labels = c("Don't know"))
data_Q16_long <- data_Q16 %>%
pivot_longer(Q16_1:Q16_6)
data <- data %>% mutate(total_valid_Q16 = case_when(
Q16_1 == 1 | Q16_2 == 1 | Q16_3 == 1 | Q16_4 == 1 | Q16_5 == 1 | Q16_6 == 1 ~ 1
))
total_responses_Q16 <- sum(data$total_valid_Q16, na.rm=TRUE)
Fig9A <- ggplot(data=subset(data_Q16_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q16), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Support the development of a DMP(e.g., review and provide comments or feedback)", width = 60)) + theme(plot.title = element_text(size = 15))
### Figure 10A. Data deposit (other than Dataverse)
Q17_vars <- c("ResponseId", "Institution_Size", "Q17_1", "Q17_2", "Q17_3", "Q17_4", "Q17_5", "Q17_6")
data_Q17 <- data[Q17_vars]
data_Q17$Q17_1 <-factor(data_Q17$Q17_1,
levels = c(1),
labels = c("Library"))
data_Q17$Q17_2 <-factor(data_Q17$Q17_2,
levels = c(1),
labels = c("Research Office"))
data_Q17$Q17_3 <-factor(data_Q17$Q17_3,
levels = c(1),
labels = c("IT"))
data_Q17$Q17_4 <-factor(data_Q17$Q17_4,
levels = c(1),
labels = c("Other"))
data_Q17$Q17_5 <-factor(data_Q17$Q17_5,
levels = c(1),
labels = c("None"))
data_Q17$Q17_6 <-factor(data_Q17$Q17_6,
levels = c(1),
labels = c("Don't know"))
data_Q17_long <- data_Q17 %>%
pivot_longer(Q17_1:Q17_6)
data <- data %>% mutate(total_valid_Q17 = case_when(
Q17_1 == 1 | Q17_2 == 1 | Q17_3 == 1 | Q17_4 == 1 | Q17_5 == 1 | Q17_6 == 1 ~ 1
))
total_responses_Q17 <- sum(data$total_valid_Q17, na.rm=TRUE)
Fig10A <- ggplot(data=subset(data_Q17_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q17), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Support the deposit of research data in a data repository other than Dataverse (e.g., FRDR, Zenodo)", width = 60)) + theme(plot.title = element_text(size = 15))
#Figure 11A. Advise on metadata standards
Q18_vars <- c("ResponseId", "Institution_Size", "Q18_1", "Q18_2", "Q18_3", "Q18_4", "Q18_5", "Q18_6")
data_Q18 <- data[Q18_vars]
data_Q18$Q18_1 <-factor(data_Q18$Q18_1,
levels = c(1),
labels = c("Library"))
data_Q18$Q18_2 <-factor(data_Q18$Q18_2,
levels = c(1),
labels = c("Research Office"))
data_Q18$Q18_3 <-factor(data_Q18$Q18_3,
levels = c(1),
labels = c("IT"))
data_Q18$Q18_4 <-factor(data_Q18$Q18_4,
levels = c(1),
labels = c("Other"))
data_Q18$Q18_5 <-factor(data_Q18$Q18_5,
levels = c(1),
labels = c("None"))
data_Q18$Q18_6 <-factor(data_Q18$Q18_6,
levels = c(1),
labels = c("Don't know"))
data_Q18_long <- data_Q18 %>%
pivot_longer(Q18_1:Q18_6)
data <- data %>% mutate(total_valid_Q18 = case_when(
Q18_1 == 1 | Q18_2 == 1 | Q18_3 == 1 | Q18_4 == 1 | Q18_5 == 1 | Q18_6 == 1 ~ 1
))
total_responses_Q18 <- sum(data$total_valid_Q18, na.rm=TRUE)
Fig11A <- ggplot(data=subset(data_Q18_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q18), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Advise on metadata standards", width = 60)) + theme(plot.title = element_text(size = 15))
#Figure 12A. Support the enhancement of metadata
Q19_vars <- c("ResponseId", "Institution_Size", "Q19_1", "Q19_2", "Q19_3", "Q19_4", "Q19_5", "Q19_6")
data_Q19 <- data[Q19_vars]
data_Q19$Q19_1 <-factor(data_Q19$Q19_1,
levels = c(1),
labels = c("Library"))
data_Q19$Q19_2 <-factor(data_Q19$Q19_2,
levels = c(1),
labels = c("Research Office"))
data_Q19$Q19_3 <-factor(data_Q19$Q19_3,
levels = c(1),
labels = c("IT"))
data_Q19$Q19_4 <-factor(data_Q19$Q19_4,
levels = c(1),
labels = c("Other"))
data_Q19$Q19_5 <-factor(data_Q19$Q19_5,
levels = c(1),
labels = c("None"))
data_Q19$Q19_6 <-factor(data_Q19$Q19_6,
levels = c(1),
labels = c("Don't know"))
data_Q19_long <- data_Q19 %>%
pivot_longer(Q19_1:Q19_6)
data <- data %>% mutate(total_valid_Q19 = case_when(
Q19_1 == 1 | Q19_2 == 1 | Q19_3 == 1 | Q19_4 == 1 | Q19_5 == 1 | Q19_6 == 1 ~ 1
))
total_responses_Q19 <- sum(data$total_valid_Q19, na.rm=TRUE)
Fig12A <- ggplot(data=subset(data_Q19_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q19), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Support the enhancement of metadata", width = 60)) + theme(plot.title = element_text(size = 15))
#Figure 13A. Support the use of unique identifiers (e.g. ORCID, DOI)
Q20_vars <- c("ResponseId", "Institution_Size", "Q20_1", "Q20_2", "Q20_3", "Q20_4", "Q20_5", "Q20_6")
data_Q20 <- data[Q20_vars]
data_Q20$Q20_1 <-factor(data_Q20$Q20_1,
levels = c(1),
labels = c("Library"))
data_Q20$Q20_2 <-factor(data_Q20$Q20_2,
levels = c(1),
labels = c("Research Office"))
data_Q20$Q20_3 <-factor(data_Q20$Q20_3,
levels = c(1),
labels = c("IT"))
data_Q20$Q20_4 <-factor(data_Q20$Q20_4,
levels = c(1),
labels = c("Other"))
data_Q20$Q20_5 <-factor(data_Q20$Q20_5,
levels = c(1),
labels = c("None"))
data_Q20$Q20_6 <-factor(data_Q20$Q20_6,
levels = c(1),
labels = c("Don't know"))
data_Q20_long <- data_Q20 %>%
pivot_longer(Q20_1:Q20_6)
data <- data %>% mutate(total_valid_Q20 = case_when(
Q20_1 == 1 | Q20_2 == 1 | Q20_3 == 1 | Q20_4 == 1 | Q20_5 == 1 | Q20_6 == 1 ~ 1
))
total_responses_Q20 <- sum(data$total_valid_Q20, na.rm=TRUE)
Fig13A <- ggplot(data=subset(data_Q20_long, !is.na(value)),aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q20), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Support the use of unique identifiers (e.g. ORCID, DOI)", width = 60)) + theme(plot.title = element_text(size = 15))
#Figure 14A. Provide data de-identification and anonymization services
Q21_vars <- c("ResponseId", "Institution_Size", "Q21_1", "Q21_2", "Q21_3", "Q21_4", "Q21_5", "Q21_6")
data_Q21 <- data[Q21_vars]
data_Q21$Q21_1 <-factor(data_Q21$Q21_1,
levels = c(1),
labels = c("Library"))
data_Q21$Q21_2 <-factor(data_Q21$Q21_2,
levels = c(1),
labels = c("Research Office"))
data_Q21$Q21_3 <-factor(data_Q21$Q21_3,
levels = c(1),
labels = c("IT"))
data_Q21$Q21_4 <-factor(data_Q21$Q21_4,
levels = c(1),
labels = c("Other"))
data_Q21$Q21_5 <-factor(data_Q21$Q21_5,
levels = c(1),
labels = c("None"))
data_Q21$Q21_6 <-factor(data_Q21$Q21_6,
levels = c(1),
labels = c("Don't know"))
data_Q21_long <- data_Q21 %>%
pivot_longer(Q21_1:Q21_6)
data <- data %>% mutate(total_valid_Q21 = case_when(
Q21_1 == 1 | Q21_2 == 1 | Q21_3 == 1 | Q21_4 == 1 | Q21_5 == 1 | Q21_6 == 1 ~ 1
))
total_responses_Q21 <- sum(data$total_valid_Q21, na.rm=TRUE)
Fig14A <- ggplot(data=subset(data_Q21_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q21), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Provide data de-identification and anonymization services", width = 60)) + theme(plot.title = element_text(size = 15))
#Figure 15A. Advise on the storage and sharing of active research data
Q22_vars <- c("ResponseId", "Institution_Size", "Q22_1", "Q22_2", "Q22_3", "Q22_4", "Q22_5", "Q22_6")
data_Q22 <- data[Q22_vars]
data_Q22$Q22_1 <-factor(data_Q22$Q22_1,
levels = c(1),
labels = c("Library"))
data_Q22$Q22_2 <-factor(data_Q22$Q22_2,
levels = c(1),
labels = c("Research Office"))
data_Q22$Q22_3 <-factor(data_Q22$Q22_3,
levels = c(1),
labels = c("IT"))
data_Q22$Q22_4 <-factor(data_Q22$Q22_4,
levels = c(1),
labels = c("Other"))
data_Q22$Q22_5 <-factor(data_Q22$Q22_5,
levels = c(1),
labels = c("None"))
data_Q22$Q22_6 <-factor(data_Q22$Q22_6,
levels = c(1),
labels = c("Don't know"))
data_Q22_long <- data_Q22 %>%
pivot_longer(Q22_1:Q22_6)
data <- data %>% mutate(total_valid_Q22 = case_when(
Q22_1 == 1 | Q22_2 == 1 | Q22_3 == 1 | Q22_4 == 1 | Q22_5 == 1 | Q22_6 == 1 ~ 1
))
total_responses_Q22 <- sum(data$total_valid_Q22, na.rm=TRUE)
Fig15A <- ggplot(data=subset(data_Q22_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q22), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Advise on the storage and sharing of active research data", width = 60)) + theme(plot.title = element_text(size = 15))
#Figure 16A. Advise on the long-term preservation of research data
Q23_vars <- c("ResponseId", "Institution_Size", "Q23_1", "Q23_2", "Q23_3", "Q23_4", "Q23_5", "Q23_6")
data_Q23 <- data[Q23_vars]
data_Q23$Q23_1 <-factor(data_Q23$Q23_1,
levels = c(1),
labels = c("Library"))
data_Q23$Q23_2 <-factor(data_Q23$Q23_2,
levels = c(1),
labels = c("Research Office"))
data_Q23$Q23_3 <-factor(data_Q23$Q23_3,
levels = c(1),
labels = c("IT"))
data_Q23$Q23_4 <-factor(data_Q23$Q23_4,
levels = c(1),
labels = c("Other"))
data_Q23$Q23_5 <-factor(data_Q23$Q23_5,
levels = c(1),
labels = c("None"))
data_Q23$Q23_6 <-factor(data_Q23$Q23_6,
levels = c(1),
labels = c("Don't know"))
data_Q23_long <- data_Q23 %>%
pivot_longer(Q23_1:Q23_6)
data <- data %>% mutate(total_valid_Q23 = case_when(
Q23_1 == 1 | Q23_2 == 1 | Q23_3 == 1 | Q23_4 == 1 | Q23_5 == 1 | Q23_6 == 1 ~ 1
))
total_responses_Q23 <- sum(data$total_valid_Q23, na.rm=TRUE)
Fig16A <- ggplot(data=subset(data_Q23_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q23), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Advise on the long-term preservation of research data", width = 60)) + theme(plot.title = element_text(size = 15))
#Figure 17A. Provide research data preservation processing and long-term storage
Q24_vars <- c("ResponseId", "Institution_Size", "Q24_1", "Q24_2", "Q24_3", "Q24_4", "Q24_5", "Q24_6")
data_Q24 <- data[Q24_vars]
data_Q24$Q24_1 <-factor(data_Q24$Q24_1,
levels = c(1),
labels = c("Library"))
data_Q24$Q24_2 <-factor(data_Q24$Q24_2,
levels = c(1),
labels = c("Research Office"))
data_Q24$Q24_3 <-factor(data_Q24$Q24_3,
levels = c(1),
labels = c("IT"))
data_Q24$Q24_4 <-factor(data_Q24$Q24_4,
levels = c(1),
labels = c("Other"))
data_Q24$Q24_5 <-factor(data_Q24$Q24_5,
levels = c(1),
labels = c("None"))
data_Q24$Q24_6 <-factor(data_Q24$Q24_6,
levels = c(1),
labels = c("Don't know"))
data_Q24_long <- data_Q24 %>%
pivot_longer(Q24_1:Q24_6)
data <- data %>% mutate(total_valid_Q24 = case_when(
Q24_1 == 1 | Q24_2 == 1 | Q24_3 == 1 | Q24_4 == 1 | Q24_5 == 1 | Q24_6 == 1 ~ 1
))
total_responses_Q24 <- sum(data$total_valid_Q24, na.rm=TRUE)
Fig17A <- ggplot(data=subset(data_Q24_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q24), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Provide research data preservation processing and long-term storage", width = 60)) + theme(plot.title = element_text(size = 15))
#Figure 18A. Advise on best practices related to research ethics
Q25_vars <- c("ResponseId", "Institution_Size", "Q25_1", "Q25_2", "Q25_3", "Q25_4", "Q25_5", "Q25_6")
data_Q25 <- data[Q25_vars]
data_Q25$Q25_1 <-factor(data_Q25$Q25_1,
levels = c(1),
labels = c("Library"))
data_Q25$Q25_2 <-factor(data_Q25$Q25_2,
levels = c(1),
labels = c("Research Office"))
data_Q25$Q25_3 <-factor(data_Q25$Q25_3,
levels = c(1),
labels = c("IT"))
data_Q25$Q25_4 <-factor(data_Q25$Q25_4,
levels = c(1),
labels = c("Other"))
data_Q25$Q25_5 <-factor(data_Q25$Q25_5,
levels = c(1),
labels = c("None"))
data_Q25$Q25_6 <-factor(data_Q25$Q25_6,
levels = c(1),
labels = c("Don't know"))
data_Q25_long <- data_Q25 %>%
pivot_longer(Q25_1:Q25_6)
data <- data %>% mutate(total_valid_Q25 = case_when(
Q25_1 == 1 | Q25_2 == 1 | Q25_3 == 1 | Q25_4 == 1 | Q25_5 == 1 | Q25_6 == 1 ~ 1
))
total_responses_Q25 <- sum(data$total_valid_Q25, na.rm=TRUE)
Fig18A <- ggplot(data=subset(data_Q25_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q25), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Advise on best practices related to research ethics", width = 60)) + theme(plot.title = element_text(size = 15))
#Figure 19A. Advise on Indigenous Data Sovereignty or Indigenous research partnerships
Q26_vars <- c("ResponseId", "Institution_Size", "Q26_1", "Q26_2", "Q26_3", "Q26_4", "Q26_5", "Q26_6")
data_Q26 <- data[Q26_vars]
data_Q26$Q26_1 <-factor(data_Q26$Q26_1,
levels = c(1),
labels = c("Library"))
data_Q26$Q26_2 <-factor(data_Q26$Q26_2,
levels = c(1),
labels = c("Research Office"))
data_Q26$Q26_3 <-factor(data_Q26$Q26_3,
levels = c(1),
labels = c("IT"))
data_Q26$Q26_4 <-factor(data_Q26$Q26_4,
levels = c(1),
labels = c("Other"))
data_Q26$Q26_5 <-factor(data_Q26$Q26_5,
levels = c(1),
labels = c("None"))
data_Q26$Q26_6 <-factor(data_Q26$Q26_6,
levels = c(1),
labels = c("Don't know"))
data_Q26_long <- data_Q26 %>%
pivot_longer(Q26_1:Q26_6)
data <- data %>% mutate(total_valid_Q26 = case_when(
Q26_1 == 1 | Q26_2 == 1 | Q26_3 == 1 | Q26_4 == 1 | Q26_5 == 1 | Q26_6 == 1 ~ 1
))
total_responses_Q26 <- sum(data$total_valid_Q26, na.rm=TRUE)
Fig19A <- ggplot(data=subset(data_Q26_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q26), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Advise on Indigenous data sovereignty or Indigenous research partnerships", width = 55)) + theme(plot.title = element_text(size = 15))
#Figure 20A. Provide Advanced Research Computing (HPC and Cloud)
Q27_vars <- c("ResponseId", "Institution_Size", "Q27_1", "Q27_2", "Q27_3", "Q27_4", "Q27_5", "Q27_6")
data_Q27 <- data[Q27_vars]
data_Q27$Q27_1 <-factor(data_Q27$Q27_1,
levels = c(1),
labels = c("Library"))
data_Q27$Q27_2 <-factor(data_Q27$Q27_2,
levels = c(1),
labels = c("Research Office"))
data_Q27$Q27_3 <-factor(data_Q27$Q27_3,
levels = c(1),
labels = c("IT"))
data_Q27$Q27_4 <-factor(data_Q27$Q27_4,
levels = c(1),
labels = c("Other"))
data_Q27$Q27_5 <-factor(data_Q27$Q27_5,
levels = c(1),
labels = c("None"))
data_Q27$Q27_6 <-factor(data_Q27$Q27_6,
levels = c(1),
labels = c("Don't know"))
data_Q27_long <- data_Q27 %>%
pivot_longer(Q27_1:Q27_6)
data <- data %>% mutate(total_valid_Q27 = case_when(
Q27_1 == 1 | Q27_2 == 1 | Q27_3 == 1 | Q27_4 == 1 | Q27_5 == 1 | Q27_6 == 1 ~ 1
))
total_responses_Q27 <- sum(data$total_valid_Q27, na.rm=TRUE)
Fig20A <- ggplot(data=subset(data_Q27_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q27), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Provide Advanced Research Computing (HPC and Cloud)", width = 60)) + theme(plot.title = element_text(size = 15))
Figs9A_20A_row <- plot_grid(Fig9A, Fig10A, Fig11A, Fig12A, Fig13A, Fig14A, Fig15A, Fig16A, Fig17A, Fig18A, Fig19A, Fig20A, align = "h", nrow = 6, rel_widths = c(1,1))
# add the title
Figs9A_20A_title <- ggdraw() + draw_label("Which unit(s) are responsible for providing the following RDM support or services at your institution?", fontface = 'bold', hjust = 0.5, x = 0.5, size = 20) + theme(plot.margin = margin(0, 0, 0, 7))
Figs9A_20A <- plot_grid(
Figs9A_20A_title, Figs9A_20A_row,
ncol = 1,
rel_heights = c(0.05, 1)
)
Figs9A_20A

# ggsave("figure9A.png")
Figures 9 - 20. Corresponding frequency tables
data_Q16_long %>%
count(value) %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 9" = n/sum(total_responses_Q16)*100)
data_Q17_long %>%
count(value) %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 10" = n/sum(total_responses_Q17)*100)
data_Q18_long %>%
count(value) %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 11" = n/sum(total_responses_Q18)*100)
data_Q19_long %>%
count(value) %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 12" = n/sum(total_responses_Q19)*100)
data_Q20_long %>%
count(value) %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 13" = n/sum(total_responses_Q20)*100)
data_Q21_long %>%
count(value) %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 14" = n/sum(total_responses_Q21)*100)
data_Q22_long %>%
count(value) %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 15" = n/sum(total_responses_Q22)*100)
data_Q23_long %>%
count(value) %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 16" = n/sum(total_responses_Q23)*100)
data_Q24_long %>%
count(value) %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 17" = n/sum(total_responses_Q24)*100)
data_Q25_long %>%
count(value) %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 18" = n/sum(total_responses_Q25)*100)
data_Q26_long %>%
count(value) %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 19" = n/sum(total_responses_Q26)*100)
data_Q27_long %>%
count(value) %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 20" = n/sum(total_responses_Q27)*100)
Small Institutions
#Figure 9B Small. Support DMP Development
data <- data %>% mutate(total_valid_Q16_small = case_when(
(Q16_1 == 1 | Q16_2 == 1 | Q16_3 == 1 | Q16_4 == 1 | Q16_5 == 1 | Q16_6 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q16_small <- sum(data$total_valid_Q16_small, na.rm=TRUE)
Fig9B_small <- ggplot(data=subset(data_Q16_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q16_small), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Support the development of a DMP (e.g., review and provide comments or feedback", width = 60)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
### Figure 10B Small. Data deposit (other than Dataverse)
data <- data %>% mutate(total_valid_Q17_small = case_when(
(Q17_1 == 1 | Q17_2 == 1 | Q17_3 == 1 | Q17_4 == 1 | Q17_5 == 1 | Q17_6 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q17_small <- sum(data$total_valid_Q17_small, na.rm=TRUE)
Fig10B_small <- ggplot(data=subset(data_Q17_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q17_small), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Support the deposit of research data in a data repository other than Dataverse (e.g., FRDR, Zenodo)", width = 60)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 11B Small. Advise on metadata standards
data <- data %>% mutate(total_valid_Q18_small = case_when(
(Q18_1 == 1 | Q18_2 == 1 | Q18_3 == 1 | Q18_4 == 1 | Q18_5 == 1 | Q18_6 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q18_small <- sum(data$total_valid_Q18_small, na.rm=TRUE)
Fig11B_small <- ggplot(data=subset(data_Q18_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q18_small), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Advise on metadata standards", width = 60)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 12 B Small. Support the enhancement of metadata
data <- data %>% mutate(total_valid_Q19_small = case_when(
(Q19_1 == 1 | Q19_2 == 1 | Q19_3 == 1 | Q19_4 == 1 | Q19_5 == 1 | Q19_6 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q19_small <- sum(data$total_valid_Q19_small, na.rm=TRUE)
Fig12B_small <- ggplot(data=subset(data_Q19_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q19_small), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Support the enhancement of metadata", width = 60)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 13B Small. Support the use of unique identifiers (e.g. ORCID, DOI)
data <- data %>% mutate(total_valid_Q20_small = case_when(
(Q20_1 == 1 | Q20_2 == 1 | Q20_3 == 1 | Q20_4 == 1 | Q20_5 == 1 | Q20_6 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q20_small <- sum(data$total_valid_Q20_small, na.rm=TRUE)
Fig13B_small <- ggplot(data=subset(data_Q20_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q20_small), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Support the use of unique identifiers (e.g. ORCID, DOI)", width = 60)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 14B Small. Provide data de-identification and anonymization services
data <- data %>% mutate(total_valid_Q21_small = case_when(
(Q21_1 == 1 | Q21_2 == 1 | Q21_3 == 1 | Q21_4 == 1 | Q21_5 == 1 | Q21_6 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q21_small <- sum(data$total_valid_Q21_small, na.rm=TRUE)
Fig14B_small <- ggplot(data=subset(data_Q21_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q21_small), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Provide data de-identification and anonymization services", width = 60)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 15B Small. Advise on the storage and sharing of active research data
data <- data %>% mutate(total_valid_Q22_small = case_when(
(Q22_1 == 1 | Q22_2 == 1 | Q22_3 == 1 | Q22_4 == 1 | Q22_5 == 1 | Q22_6 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q22_small <- sum(data$total_valid_Q22_small, na.rm=TRUE)
Fig15B_small <- ggplot(data=subset(data_Q22_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q22_small), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Advise on the storage and sharing of active research data", width = 60)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 16B Small. Advise on the long-term preservation of research data
data <- data %>% mutate(total_valid_Q23_small = case_when(
(Q23_1 == 1 | Q23_2 == 1 | Q23_3 == 1 | Q23_4 == 1 | Q23_5 == 1 | Q23_6 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q23_small <- sum(data$total_valid_Q23_small, na.rm=TRUE)
Fig16B_small <- ggplot(data=subset(data_Q23_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q23_small), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Advise on the long-term preservation of research data", width = 60)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 17B Small. Provide research data preservation processing and long-term storage
data <- data %>% mutate(total_valid_Q24_small = case_when(
(Q24_1 == 1 | Q24_2 == 1 | Q24_3 == 1 | Q24_4 == 1 | Q24_5 == 1 | Q24_6 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q24_small <- sum(data$total_valid_Q24_small, na.rm=TRUE)
Fig17B_small <- ggplot(data=subset(data_Q24_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q24_small), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Provide research data preservation processing and long-term storage", width = 60)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 18B Small. Advise on best practices related to research ethics
data <- data %>% mutate(total_valid_Q25_small = case_when(
(Q25_1 == 1 | Q25_2 == 1 | Q25_3 == 1 | Q25_4 == 1 | Q25_5 == 1 | Q25_6 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q25_small <- sum(data$total_valid_Q25_small, na.rm=TRUE)
Fig18B_small <- ggplot(data=subset(data_Q25_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q25_small), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Advise on best practices related to research ethics", width = 60)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 19B Small Advise on Indigenous Data Sovereignty or Indigenous research partnerships
data <- data %>% mutate(total_valid_Q26_small = case_when(
(Q26_1 == 1 | Q26_2 == 1 | Q26_3 == 1 | Q26_4 == 1 | Q26_5 == 1 | Q26_6 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q26_small <- sum(data$total_valid_Q26_small, na.rm=TRUE)
Fig19B_small <- ggplot(data=subset(data_Q26_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q26_small), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Advise on Indigenous data sovereignty or Indigenous research partnerships", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 20B Small. Provide Advanced Research Computing (HPC and Cloud)
data <- data %>% mutate(total_valid_Q27_small = case_when(
(Q27_1 == 1 | Q27_2 == 1 | Q27_3 == 1 | Q27_4 == 1 | Q27_5 == 1 | Q27_6 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q27_small <- sum(data$total_valid_Q27_small, na.rm=TRUE)
Fig20B_small <- ggplot(data=subset(data_Q27_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q27_small), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Provide Advanced Research Computing (HPC and Cloud)", width = 60)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
Figs9B_20B_small_row <- plot_grid(Fig9B_small, Fig10B_small, Fig11B_small, Fig12B_small, Fig13B_small, Fig14B_small, Fig15B_small, Fig16B_small,
Fig17B_small, Fig18B_small, Fig19B_small, Fig20B_small, align = "h", nrow = 6, rel_widths = c(1,1))
# add the title
Figs9B_20B_small_title <- ggdraw() + draw_label("Small Size Institutions: Which unit(s) are responsible for providing the following
RDM support or services at your institution?", fontface = 'bold', x = 0.5, hjust = 0.5, size = 25) + theme(plot.margin = margin(0, 0, 0, 7))
Figs9B_20B_small <- plot_grid(
Figs9B_20B_small_title, Figs9B_20B_small_row,
ncol = 1,
rel_heights = c(0.05, 1)
)
Figs9B_20B_small

# ggsave("figure9b.png")
Figures 9B - 20B. Corresponding frequency tables
data_Q16_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="small") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 9B" = n/sum(total_responses_Q16_small)*100)
data_Q17_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="small") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 10B" = n/sum(total_responses_Q17_small)*100)
data_Q18_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="small") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 11B" = n/sum(total_responses_Q18_small)*100)
data_Q19_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="small") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 12B" = n/sum(total_responses_Q19_small)*100)
data_Q20_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="small") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 13B" = n/sum(total_responses_Q20_small)*100)
data_Q21_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="small") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 14B" = n/sum(total_responses_Q21_small)*100)
data_Q22_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="small") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 15B" = n/sum(total_responses_Q22_small)*100)
data_Q23_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="small") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 16B" = n/sum(total_responses_Q23_small)*100)
data_Q24_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="small") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 17B" = n/sum(total_responses_Q24_small)*100)
data_Q25_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="small") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 18B" = n/sum(total_responses_Q25_small)*100)
data_Q26_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="small") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 19B" = n/sum(total_responses_Q26_small)*100)
data_Q27_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="small") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 20B" = n/sum(total_responses_Q27_small)*100)
Medium Institutions
#Figure 9B Medium Support DMP Development
data <- data %>% mutate(total_valid_Q16_medium = case_when(
(Q16_1 == 1 | Q16_2 == 1 | Q16_3 == 1 | Q16_4 == 1 | Q16_5 == 1 | Q16_6 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q16_medium <- sum(data$total_valid_Q16_medium, na.rm=TRUE)
Fig9B_medium <- ggplot(data=subset(data_Q16_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q16_medium), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Support the development of a DMP (e.g., review and provide comments or feedback", width = 55)) + theme(plot.title = element_text(size = 15))
### Figure 10B medium. Data deposit (other than Dataverse)
data <- data %>% mutate(total_valid_Q17_medium = case_when(
(Q17_1 == 1 | Q17_2 == 1 | Q17_3 == 1 | Q17_4 == 1 | Q17_5 == 1 | Q17_6 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q17_medium <- sum(data$total_valid_Q17_medium, na.rm=TRUE)
Fig10B_medium <- ggplot(data=subset(data_Q17_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q17_medium), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Support the deposit of research data in a data repository other than Dataverse (e.g., FRDR, Zenodo)", width = 55)) + theme(plot.title = element_text(size = 15))
#Figure 11B medium. Advise on metadata standards
data <- data %>% mutate(total_valid_Q18_medium = case_when(
(Q18_1 == 1 | Q18_2 == 1 | Q18_3 == 1 | Q18_4 == 1 | Q18_5 == 1 | Q18_6 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q18_medium <- sum(data$total_valid_Q18_medium, na.rm=TRUE)
Fig11B_medium <- ggplot(data=subset(data_Q18_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q18_medium), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Advise on metadata standards", width = 55)) + theme(plot.title = element_text(size = 15))
#Figure 12 B medium. Support the enhancement of metadata
data <- data %>% mutate(total_valid_Q19_medium = case_when(
(Q19_1 == 1 | Q19_2 == 1 | Q19_3 == 1 | Q19_4 == 1 | Q19_5 == 1 | Q19_6 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q19_medium <- sum(data$total_valid_Q19_medium, na.rm=TRUE)
Fig12B_medium <- ggplot(data=subset(data_Q19_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q19_medium), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Support the enhancement of metadata", width = 55)) + theme(plot.title = element_text(size = 15))
#Figure 13B medium. Support the use of unique identifiers (e.g. ORCID, DOI)
data <- data %>% mutate(total_valid_Q20_medium = case_when(
(Q20_1 == 1 | Q20_2 == 1 | Q20_3 == 1 | Q20_4 == 1 | Q20_5 == 1 | Q20_6 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q20_medium <- sum(data$total_valid_Q20_medium, na.rm=TRUE)
Fig13B_medium <- ggplot(data=subset(data_Q20_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q20_medium), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Support the use of unique identifiers (e.g. ORCID, DOI)", width = 55)) + theme(plot.title = element_text(size = 15))
#Figure 14B medium. Provide data de-identification and anonymization services
data <- data %>% mutate(total_valid_Q21_medium = case_when(
(Q21_1 == 1 | Q21_2 == 1 | Q21_3 == 1 | Q21_4 == 1 | Q21_5 == 1 | Q21_6 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q21_medium <- sum(data$total_valid_Q21_medium, na.rm=TRUE)
Fig14B_medium <- ggplot(data=subset(data_Q21_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q21_medium), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Provide data de-identification and anonymization services", width = 55)) + theme(plot.title = element_text(size = 15))
#Figure 15B medium. Advise on the storage and sharing of active research data
data <- data %>% mutate(total_valid_Q22_medium = case_when(
(Q22_1 == 1 | Q22_2 == 1 | Q22_3 == 1 | Q22_4 == 1 | Q22_5 == 1 | Q22_6 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q22_medium <- sum(data$total_valid_Q22_medium, na.rm=TRUE)
Fig15B_medium <- ggplot(data=subset(data_Q22_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q22_medium), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Advise on the storage and sharing of active research data", width = 55)) + theme(plot.title = element_text(size = 15))
#Figure 16B medium. Advise on the long-term preservation of research data
data <- data %>% mutate(total_valid_Q23_medium = case_when(
(Q23_1 == 1 | Q23_2 == 1 | Q23_3 == 1 | Q23_4 == 1 | Q23_5 == 1 | Q23_6 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q23_medium <- sum(data$total_valid_Q23_medium, na.rm=TRUE)
Fig16B_medium <- ggplot(data=subset(data_Q23_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q23_medium), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Advise on the long-term preservation of research data", width = 55)) + theme(plot.title = element_text(size = 15))
#Figure 17B medium. Provide research data preservation processing and long-term storage
data <- data %>% mutate(total_valid_Q24_medium = case_when(
(Q24_1 == 1 | Q24_2 == 1 | Q24_3 == 1 | Q24_4 == 1 | Q24_5 == 1 | Q24_6 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q24_medium <- sum(data$total_valid_Q24_medium, na.rm=TRUE)
Fig17B_medium <- ggplot(data=subset(data_Q24_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q24_medium), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Provide research data preservation processing and long-term storage", width = 55)) + theme(plot.title = element_text(size = 15))
#Figure 18B medium. Advise on best practices related to research ethics
data <- data %>% mutate(total_valid_Q25_medium = case_when(
(Q25_1 == 1 | Q25_2 == 1 | Q25_3 == 1 | Q25_4 == 1 | Q25_5 == 1 | Q25_6 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q25_medium <- sum(data$total_valid_Q25_medium, na.rm=TRUE)
Fig18B_medium <- ggplot(data=subset(data_Q25_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q25_medium), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Advise on best practices related to research ethics", width = 55)) + theme(plot.title = element_text(size = 15))
#Figure 19B medium Advise on Indigenous Data Sovereignty or Indigenous research partnerships
data <- data %>% mutate(total_valid_Q26_medium = case_when(
(Q26_1 == 1 | Q26_2 == 1 | Q26_3 == 1 | Q26_4 == 1 | Q26_5 == 1 | Q26_6 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q26_medium <- sum(data$total_valid_Q26_medium, na.rm=TRUE)
Fig19B_medium <- ggplot(data=subset(data_Q26_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q26_medium), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Advise on Indigenous Data Sovereignty or Indigenous research partnerships", width = 55)) + theme(plot.title = element_text(size = 15))
#Figure 20B medium. Provide Advanced Research Computing (HPC and Cloud)
data <- data %>% mutate(total_valid_Q27_medium = case_when(
(Q27_1 == 1 | Q27_2 == 1 | Q27_3 == 1 | Q27_4 == 1 | Q27_5 == 1 | Q27_6 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q27_medium <- sum(data$total_valid_Q27_medium, na.rm=TRUE)
Fig20B_medium <- ggplot(data=subset(data_Q27_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q27_medium), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) + labs(x = "", y = "", title=str_wrap("Provide Advanced Research Computing (HPC and Cloud)", width = 55)) + theme(plot.title = element_text(size = 15))
Figs9B_20B_medium_row <- plot_grid(Fig9B_medium, Fig10B_medium, Fig11B_medium, Fig12B_medium, Fig13B_medium, Fig14B_medium, Fig15B_medium, Fig16B_medium,
Fig17B_medium, Fig18B_medium, Fig19B_medium, Fig20B_medium, align = "h", nrow = 6, rel_widths = c(1,1))
# add the title
Figs9B_20B_medium_title <- ggdraw() + draw_label("Medium Size Institutions: Which unit(s) are responsible for providing the following
RDM support or services at your institution?", fontface = 'bold', x = 0.5, hjust = 0.5, size = 20) + theme(plot.margin = margin(0, 0, 0, 7))
Figs9B_20B_medium <- plot_grid(
Figs9B_20B_medium_title, Figs9B_20B_medium_row,
ncol = 1,
rel_heights = c(0.05, 1)
)
Figs9B_20B_medium

# ggsave("figure9c.png")
Figures 9C - 20C. Corresponding frequency tables
data_Q16_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="medium") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 9C" = n/sum(total_responses_Q16_medium)*100)
data_Q17_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="medium") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 10C" = n/sum(total_responses_Q17_medium)*100)
data_Q18_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="medium") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 11C" = n/sum(total_responses_Q18_medium)*100)
data_Q19_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="medium") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 12C" = n/sum(total_responses_Q19_medium)*100)
data_Q20_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="medium") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 13C" = n/sum(total_responses_Q20_medium)*100)
data_Q21_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="medium") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 14C" = n/sum(total_responses_Q21_medium)*100)
data_Q22_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="medium") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 15C" = n/sum(total_responses_Q22_medium)*100)
data_Q23_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="medium") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 16C" = n/sum(total_responses_Q23_medium)*100)
data_Q24_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="medium") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 17C" = n/sum(total_responses_Q24_medium)*100)
data_Q25_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="medium") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 18C" = n/sum(total_responses_Q25_medium)*100)
data_Q26_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="medium") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 19C" = n/sum(total_responses_Q26_medium)*100)
data_Q27_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="medium") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 20C" = n/sum(total_responses_Q27_medium)*100)
NA
Large Institutions
#Figure 9B Large Support DMP Development
data <- data %>% mutate(total_valid_Q16_large = case_when(
(Q16_1 == 1 | Q16_2 == 1 | Q16_3 == 1 | Q16_4 == 1 | Q16_5 == 1 | Q16_6 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q16_large <- sum(data$total_valid_Q16_large, na.rm=TRUE)
Fig9B_large <- ggplot(data=subset(data_Q16_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q16_large), fill="#B2BABB") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Support the development of a DMP (e.g., review and provide comments or feedback", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
### Figure 10B large. Data deposit (other than Dataverse)
data <- data %>% mutate(total_valid_Q17_large = case_when(
(Q17_1 == 1 | Q17_2 == 1 | Q17_3 == 1 | Q17_4 == 1 | Q17_5 == 1 | Q17_6 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q17_large <- sum(data$total_valid_Q17_large, na.rm=TRUE)
Fig10B_large <- ggplot(data=subset(data_Q17_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q17_large), fill="#B2BABB") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Support the deposit of research data in a data repository other than Dataverse (e.g., FRDR, Zenodo)", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 11B large. Advise on metadata standards
data <- data %>% mutate(total_valid_Q18_large = case_when(
(Q18_1 == 1 | Q18_2 == 1 | Q18_3 == 1 | Q18_4 == 1 | Q18_5 == 1 | Q18_6 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q18_large <- sum(data$total_valid_Q18_large, na.rm=TRUE)
Fig11B_large <- ggplot(data=subset(data_Q18_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q18_large), fill="#B2BABB") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Advise on metadata standards", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 12 B large. Support the enhancement of metadata
data <- data %>% mutate(total_valid_Q19_large = case_when(
(Q19_1 == 1 | Q19_2 == 1 | Q19_3 == 1 | Q19_4 == 1 | Q19_5 == 1 | Q19_6 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q19_large <- sum(data$total_valid_Q19_large, na.rm=TRUE)
Fig12B_large <- ggplot(data=subset(data_Q19_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q19_large), fill="#B2BABB") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Support the enhancement of metadata", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 13B large. Support the use of unique identifiers (e.g. ORCID, DOI)
data <- data %>% mutate(total_valid_Q20_large = case_when(
(Q20_1 == 1 | Q20_2 == 1 | Q20_3 == 1 | Q20_4 == 1 | Q20_5 == 1 | Q20_6 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q20_large <- sum(data$total_valid_Q20_large, na.rm=TRUE)
Fig13B_large <- ggplot(data=subset(data_Q20_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q20_large), fill="#B2BABB") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Support the use of unique identifiers (e.g. ORCID, DOI)", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 14B large. Provide data de-identification and anonymization services
data <- data %>% mutate(total_valid_Q21_large = case_when(
(Q21_1 == 1 | Q21_2 == 1 | Q21_3 == 1 | Q21_4 == 1 | Q21_5 == 1 | Q21_6 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q21_large <- sum(data$total_valid_Q21_large, na.rm=TRUE)
Fig14B_large <- ggplot(data=subset(data_Q21_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q21_large), fill="#B2BABB") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Provide data de-identification and anonymization services", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 15B large. Advise on the storage and sharing of active research data
data <- data %>% mutate(total_valid_Q22_large = case_when(
(Q22_1 == 1 | Q22_2 == 1 | Q22_3 == 1 | Q22_4 == 1 | Q22_5 == 1 | Q22_6 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q22_large <- sum(data$total_valid_Q22_large, na.rm=TRUE)
Fig15B_large <- ggplot(data=subset(data_Q22_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q22_large), fill="#B2BABB") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Advise on the storage and sharing of active research data", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 16B large. Advise on the long-term preservation of research data
data <- data %>% mutate(total_valid_Q23_large = case_when(
(Q23_1 == 1 | Q23_2 == 1 | Q23_3 == 1 | Q23_4 == 1 | Q23_5 == 1 | Q23_6 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q23_large <- sum(data$total_valid_Q23_large, na.rm=TRUE)
Fig16B_large <- ggplot(data=subset(data_Q23_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q23_large), fill="#B2BABB") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Advise on the long-term preservation of research data", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 17B large. Provide research data preservation processing and long-term storage
data <- data %>% mutate(total_valid_Q24_large = case_when(
(Q24_1 == 1 | Q24_2 == 1 | Q24_3 == 1 | Q24_4 == 1 | Q24_5 == 1 | Q24_6 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q24_large <- sum(data$total_valid_Q24_large, na.rm=TRUE)
Fig17B_large <- ggplot(data=subset(data_Q24_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q24_large), fill="#B2BABB") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Provide research data preservation processing and long-term storage", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 18B large. Advise on best practices related to research ethics
data <- data %>% mutate(total_valid_Q25_large = case_when(
(Q25_1 == 1 | Q25_2 == 1 | Q25_3 == 1 | Q25_4 == 1 | Q25_5 == 1 | Q25_6 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q25_large <- sum(data$total_valid_Q25_large, na.rm=TRUE)
Fig18B_large <- ggplot(data=subset(data_Q25_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q25_large), fill="#B2BABB") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Advise on best practices related to research ethics", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 19B large Advise on Indigenous Data Sovereignty or Indigenous research partnerships
data <- data %>% mutate(total_valid_Q26_large = case_when(
(Q26_1 == 1 | Q26_2 == 1 | Q26_3 == 1 | Q26_4 == 1 | Q26_5 == 1 | Q26_6 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q26_large <- sum(data$total_valid_Q26_large, na.rm=TRUE)
Fig19B_large <- ggplot(data=subset(data_Q26_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q26_large), fill="#B2BABB") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Advise on Indigenous Data Sovereignty or Indigenous research partnerships", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
#Figure 20B large. Provide Advanced Research Computing (HPC and Cloud)
data <- data %>% mutate(total_valid_Q27_large = case_when(
(Q27_1 == 1 | Q27_2 == 1 | Q27_3 == 1 | Q27_4 == 1 | Q27_5 == 1 | Q27_6 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q27_large <- sum(data$total_valid_Q27_large, na.rm=TRUE)
Fig20B_large <- ggplot(data=subset(data_Q27_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q27_large), fill="#B2BABB") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"None",
"Other",
"IT",
"Research Office",
"Library")) + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Provide Advanced Research Computing (HPC and Cloud)", width = 55)) + theme(plot.title = element_text(size = 15)) + theme(axis.text=element_text(size=15))
Figs9B_20B_large_row <- plot_grid(Fig9B_large, Fig10B_large, Fig11B_large, Fig12B_large, Fig13B_large, Fig14B_large, Fig15B_large, Fig16B_large,
Fig17B_large, Fig18B_large, Fig19B_large, Fig20B_large, align = "h", nrow = 6, rel_widths = c(1,1))
# add the title
Figs9B_20B_large_title <- ggdraw() + draw_label("Large Size Institutions: Which unit(s) are responsible for providing the following
research data management support or services at your institution? ", fontface = 'bold', x = 0.5, hjust = 0.5, size = 20) + theme(plot.margin = margin(0, 0, 0, 7))
Figs9B_20B_large <- plot_grid(
Figs9B_20B_large_title, Figs9B_20B_large_row,
ncol = 1,
rel_heights = c(0.05, 1)
)
Figs9B_20B_large

# ggsave("figure9d.png")
Figures 9D - 20D. Corresponding frequency tables
data_Q16_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="large") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 9D" = n/sum(total_responses_Q16_large)*100)
data_Q17_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="large") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 10D" = n/sum(total_responses_Q17_large)*100)
data_Q18_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="large") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 11D" = n/sum(total_responses_Q18_large)*100)
data_Q19_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="large") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 12D" = n/sum(total_responses_Q19_large)*100)
data_Q20_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="large") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 13D" = n/sum(total_responses_Q20_large)*100)
data_Q21_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="large") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 14D" = n/sum(total_responses_Q21_large)*100)
data_Q22_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="large") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 15D" = n/sum(total_responses_Q22_large)*100)
data_Q23_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="large") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 16D" = n/sum(total_responses_Q23_large)*100)
data_Q24_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="large") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 17D" = n/sum(total_responses_Q24_large)*100)
data_Q25_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="large") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 18D" = n/sum(total_responses_Q25_large)*100)
data_Q26_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="large") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 19D" = n/sum(total_responses_Q26_large)*100)
data_Q27_long %>%
group_by(Institution_Size)%>%
count(value) %>%
filter(Institution_Size=="large") %>%
drop_na()%>%
reframe(n, value, "Percentage Figure 20D" = n/sum(total_responses_Q27_large)*100)
Dataverse collection policies and procedures
Figure 21. Service eligibility
Q29_vars <- c("ResponseId", "Institution_Size", "Q29_1", "Q29_2", "Q29_5", "Q29_6",
"Q29_7", "Q29_8", "Q29_9", "Q29_11", "Q29_12", "Q29_14", "Q29_15", "Q29_16")
data_Q29 <- data[Q29_vars]
data_Q29$Q29_1 <-factor(data_Q29$Q29_1,
levels = c(1),
labels = c("Anyone with any affiliation to the institution"))
data_Q29$Q29_2 <-factor(data_Q29$Q29_2,
levels = c(1),
labels = c("Faculty"))
data_Q29$Q29_5 <-factor(data_Q29$Q29_5,
levels = c(1),
labels = c("Post-doctoral fellows or trainees"))
data_Q29$Q29_6 <-factor(data_Q29$Q29_6,
levels = c(1),
labels = c("Currently enrolled graduate students"))
data_Q29$Q29_7 <-factor(data_Q29$Q29_7,
levels = c(1),
labels = c("Currently enrolled undergraduate students"))
data_Q29$Q29_8 <-factor(data_Q29$Q29_8,
levels = c(1),
labels = c("Other university department support role"))
data_Q29$Q29_9 <-factor(data_Q29$Q29_9,
levels = c(1),
labels = c("Librarians/Library staff"))
data_Q29$Q29_11 <-factor(data_Q29$Q29_11,
levels = c(1),
labels = c("Emeriti faculty"))
data_Q29$Q29_12 <-factor(data_Q29$Q29_12,
levels = c(1),
labels = c("Alumni"))
data_Q29$Q29_14 <-factor(data_Q29$Q29_14,
levels = c(1),
labels = c("Other"))
data_Q29$Q29_15 <-factor(data_Q29$Q29_15,
levels = c(1),
labels = c("Don't know"))
data_Q29$Q29_16 <-factor(data_Q29$Q29_16,
levels = c(1),
labels = c("Everyone (including the public)"))
data_Q29_long <- data_Q29 %>%
pivot_longer(Q29_1:Q29_16)
data <- data %>% mutate(total_valid_Q29 = case_when(
Q29_1 == 1 | Q29_2 == 1 | Q29_5 == 1 | Q29_6 == 1 | Q29_7 == 1 | Q29_8 == 1 | Q29_9 ==1 | Q29_11 == 1 | Q29_12 == 1 | Q29_14 == 1 | Q29_15 == 1 | Q29_16 == 1 ~ 1
))
total_responses_Q29 <- sum(data$total_valid_Q29, na.rm=TRUE)
Fig21A <- ggplot(data=subset(data_Q29_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q29), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"Other",
"Alumni",
"Emeriti faculty",
"Librarians/Library staff",
"Other university department support role",
"Currently enrolled undergraduate students",
"Currently enrolled graduate students",
"Post-doctoral fellows or trainees",
"Faculty",
"Anyone with any affiliation to the institution",
"Everyone (including the public)"))
Fig21A + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Which of the following users or user groups are eligible for the research data management services offered by your institution?", width = 90))+ theme(axis.text=element_text(size=15)) + theme(plot.title = element_text(size = 18))

# ggsave("figure21a.png")
Figure 21B. Service Elligibility by Inst Size
data <- data %>% mutate(total_valid_Q29_small = case_when(
(Q29_16 == 1 | Q29_15 == 1 | Q29_14 == 1 | Q29_12 == 1 | Q29_11 == 1 | Q29_9 == 1 | Q29_8 == 1 | Q29_7 == 1 | Q29_6 == 1 | Q29_5 == 1 | Q29_2 == 1 | Q29_1 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q29_small <- sum(data$total_valid_Q29_small, na.rm=TRUE)
Fig21B_Small <- ggplot(data=subset(data_Q29_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q29_small), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"Other",
"Alumni",
"Emeriti faculty",
"Librarians/Library staff",
"Other university department support role",
"Currently enrolled undergraduate students",
"Currently enrolled graduate students",
"Post-doctoral fellows or trainees",
"Faculty",
"Anyone with any affiliation to the institution",
"Everyone (including the public)"))
Fig21B_Small <- Fig21B_Small + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) +
labs(y = "", x = "") + ggtitle("Small Institutions (n = 9)")
data <- data %>% mutate(total_valid_Q29_medium = case_when(
(Q29_16 == 1 | Q29_15 == 1 | Q29_14 == 1 | Q29_12 == 1 | Q29_11 == 1 | Q29_9 == 1 | Q29_8 == 1 | Q29_7 == 1 | Q29_6 == 1 | Q29_5 == 1 | Q29_2 == 1 | Q29_1 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q29_medium <- sum(data$total_valid_Q29_medium, na.rm=TRUE)
Fig21B_Medium <- ggplot(data=subset(data_Q29_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q29_medium), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"Other",
"Alumni",
"Emeriti faculty",
"Librarians/Library staff",
"Other university department support role",
"Currently enrolled undergraduate students",
"Currently enrolled graduate students",
"Post-doctoral fellows or trainees",
"Faculty",
"Anyone with any affiliation to the institution",
"Everyone (including the public)"))
Fig21B_Medium <- Fig21B_Medium + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) +
labs(y = "", x = "") + ggtitle("Medium Institutions (n = 16)")
data <- data %>% mutate(total_valid_Q29_large = case_when(
(Q29_16 == 1 | Q29_15 == 1 | Q29_14 == 1 | Q29_12 == 1 | Q29_11 == 1 | Q29_9 == 1 | Q29_8 == 1 | Q29_7 == 1 | Q29_6 == 1 | Q29_5 == 1 | Q29_2 == 1 | Q29_1 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q29_large <- sum(data$total_valid_Q29_large, na.rm=TRUE)
Fig21B_Large <- ggplot(data=subset(data_Q29_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q29_large), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"Other",
"Alumni",
"Emeriti faculty",
"Librarians/Library staff",
"Other university department support role",
"Currently enrolled undergraduate students",
"Currently enrolled graduate students",
"Post-doctoral fellows or trainees",
"Faculty",
"Anyone with any affiliation to the institution",
"Everyone (including the public)"))
Fig21B_Large <- Fig21B_Large + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) +
labs(y = "", x = "") + ggtitle("Large Institutions (n = 21)")
title21B <- ggdraw() + draw_label("Which of the following users or user groups are eligible for the research data
management services offered by your institution?",
x = 0.5, hjust = 0.5, size = 20) +
theme(plot.margin = margin(0, 0, 0, 7))
#Bring plots together
Fig21B <- plot_grid(title21B,
Fig21B_Small, Fig21B_Medium, Fig21B_Large,
ncol = 1, rel_heights = c(0.1,1,1,1))
Fig21B

# ggsave("figure21b.png")
Figure 22. Which of the following are the most frequent users or
user groups of the research data management services offered by your
institution?
Q30_vars <- c("ResponseId", "Institution_Size", "Q30_16", "Q30_17", "Q30_18",
"Q30_19", "Q30_20", "Q30_22", "Q30_21", "Q30_23", "Q30_24", "Q30_14", "Q30_15", "Q30_1")
data_Q30 <- data[Q30_vars]
data_Q30$Q30_16 <-factor(data_Q30$Q30_16,
levels = c(1),
labels = c("Anyone with any affiliation to the institution"))
data_Q30$Q30_17 <-factor(data_Q30$Q30_17,
levels = c(1),
labels = c("Faculty"))
data_Q30$Q30_18 <-factor(data_Q30$Q30_18,
levels = c(1),
labels = c("Post-doctoral fellows or trainees"))
data_Q30$Q30_19 <-factor(data_Q30$Q30_19,
levels = c(1),
labels = c("Currently enrolled graduate students"))
data_Q30$Q30_20 <-factor(data_Q30$Q30_20,
levels = c(1),
labels = c("Currently enrolled undergraduate students"))
data_Q30$Q30_22 <-factor(data_Q30$Q30_22,
levels = c(1),
labels = c("Other university department support role"))
data_Q30$Q30_21 <-factor(data_Q30$Q30_21,
levels = c(1),
labels = c("Librarians/Library staff"))
data_Q30$Q30_23 <-factor(data_Q30$Q30_23,
levels = c(1),
labels = c("Emeriti faculty"))
data_Q30$Q30_24 <-factor(data_Q30$Q30_24,
levels = c(1),
labels = c("Alumni"))
data_Q30$Q30_14 <-factor(data_Q30$Q30_14,
levels = c(1),
labels = c("Other"))
data_Q30$Q30_15 <-factor(data_Q30$Q30_15,
levels = c(1),
labels = c("Don't know"))
data_Q30$Q30_1 <-factor(data_Q30$Q30_1,
levels = c(1),
labels = c("Everyone (including the public)"))
data_Q30_long <- data_Q30 %>%
pivot_longer(Q30_16:Q30_1)
data <- data %>% mutate(total_valid_Q30 = case_when(
Q30_1 == 1 | Q30_16 == 1 | Q30_17 == 1 | Q30_18 == 1 | Q30_19 == 1 | Q30_20 == 1 | Q30_21 == 1 | Q30_22 == 1 | Q30_23 ==1 | Q30_24 == 1 | Q30_14 == 1 | Q30_15 == 1 ~ 1
))
total_responses_Q30 <- sum(data$total_valid_Q30, na.rm=TRUE)
data_Q30_Subset <- data_Q30_long[!(data_Q30_long$name %in% c("Q30_1", "Q30_16")),]
Fig22A <- ggplot(data=subset(data_Q30_Subset, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q30), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"Other",
"Alumni",
"Emeriti faculty",
"Librarians/Library staff",
"Other university department support role",
"Currently enrolled undergraduate students",
"Currently enrolled graduate students",
"Post-doctoral fellows or trainees",
"Faculty"
))
Fig22A + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Which of the following are the most frequent users or user groups of the research data management services offered by your institution?", width = 50))+ theme(axis.text=element_text(size=15)) + theme(plot.title = element_text(size = 18))

# ggsave("figure22a.png")
Figure 22B. Frequent Flyers by Inst Size
data <- data %>% mutate(total_valid_Q30_small = case_when(
(Q30_1 == 1 | Q30_15 == 1 | Q30_14 == 1 | Q30_24 == 1 | Q30_23 == 1 | Q30_21 == 1 | Q30_22 == 1 | Q30_20 == 1 | Q30_19 == 1 | Q30_18 == 1 | Q30_17 == 1 | Q30_16 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q30_small <- sum(data$total_valid_Q30_small, na.rm=TRUE)
Fig22B_Small <- ggplot(data=subset(data_Q30_Subset, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q30_small), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"Other",
"Alumni",
"Emeriti faculty",
"Librarians/Library staff",
"Other university department support role",
"Currently enrolled undergraduate students",
"Currently enrolled graduate students",
"Post-doctoral fellows or trainees",
"Faculty"))
Fig22B_Small <- Fig22B_Small + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) +
labs(y = "", x = "") + ggtitle("Small Institutions (n = 9)")
data <- data %>% mutate(total_valid_Q30_medium = case_when(
(Q30_1 == 1 | Q30_15 == 1 | Q30_14 == 1 | Q30_24 == 1 | Q30_23 == 1 | Q30_21 == 1 | Q30_22 == 1 | Q30_20 == 1 | Q30_19 == 1 | Q30_18 == 1 | Q30_17 == 1 | Q30_16 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q30_medium <- sum(data$total_valid_Q30_medium, na.rm=TRUE)
Fig22B_Medium <- ggplot(data=subset(data_Q30_Subset, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q30_medium), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"Other",
"Alumni",
"Emeriti faculty",
"Librarians/Library staff",
"Other university department support role",
"Currently enrolled undergraduate students",
"Currently enrolled graduate students",
"Post-doctoral fellows or trainees",
"Faculty"))
Fig22B_Medium <- Fig22B_Medium + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) +
labs(y = "", x = "") + ggtitle("Medium Institutions (n = 16)")
data <- data %>% mutate(total_valid_Q30_large = case_when(
(Q30_1 == 1 | Q30_15 == 1 | Q30_14 == 1 | Q30_24 == 1 | Q30_23 == 1 | Q30_21 == 1 | Q30_22 == 1 | Q30_20 == 1 | Q30_19 == 1 | Q30_18 == 1 | Q30_17 == 1 | Q30_16 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q30_large <- sum(data$total_valid_Q30_large, na.rm=TRUE)
Fig22B_Large <- ggplot(data=subset(data_Q30_Subset, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q30_large), fill="#5e228c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"Other",
"Alumni",
"Emeriti faculty",
"Librarians/Library staff",
"Other university department support role",
"Currently enrolled undergraduate students",
"Currently enrolled graduate students",
"Post-doctoral fellows or trainees",
"Faculty"))
Fig22B_Large <- Fig22B_Large + theme_grey() + coord_flip() + theme(axis.text=element_text(size=15)) +
labs(y = "", x = "") + ggtitle("Large Institutions (n = 21)")
title22B <- ggdraw() + draw_label("Which of the following users or user groups are the most frequent users or user groups
of the research data management services offered by your institution?", x = 0.5, hjust = 0.5, size = 18) + theme(plot.margin = margin(0, 0, 0, 7))
#Bring plots together
Fig22B <- plot_grid(title22B,
Fig22B_Small, Fig22B_Medium, Fig22B_Large,
ncol = 1, rel_heights = c(0.1,1,1,1))
Fig22B

# ggsave("figure22b.png")
Figure 27B. Support Capacity by Inst Size
data <- data %>% mutate(total_valid_Q35_small = case_when(
(Q35_5 == 1 | Q35_4== 1 | Q35_3 == 1 | Q35_2 == 1 | Q35_1 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q35_small <- sum(data$total_valid_Q35_small, na.rm=TRUE)
Fig27B_Small <- ggplot(data=subset(data_Q35_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q35_small), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Mediated",
"Semi-mediated",
"Semi-unmediated",
"Unmediated",
"Other"))
Fig27B_Small <- Fig27B_Small + theme_grey() + theme(
axis.title.x = element_text(size = 15),
axis.title.y = element_text(size = 15),
axis.text = element_text(size = 15))+
labs(y = "", x = "") + ggtitle("Small Institutions (n = 9)")
data <- data %>% mutate(total_valid_Q35_medium = case_when(
(Q35_5 == 1 | Q35_4== 1 | Q35_3 == 1 | Q35_2 == 1 | Q35_1 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q35_medium <- sum(data$total_valid_Q35_medium, na.rm=TRUE)
Fig27B_Medium <- ggplot(data=subset(data_Q35_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q35_medium), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Mediated",
"Semi-mediated",
"Semi-unmediated",
"Unmediated",
"Other"))
Fig27B_Medium <- Fig27B_Medium + theme_grey() + theme(
axis.title.x = element_text(size = 15),
axis.title.y = element_text(size = 15),
axis.text = element_text(size = 15))+
labs(y = "", x = "") + ggtitle("Medium Institutions (n = 16)")
data <- data %>% mutate(total_valid_Q35_large = case_when(
(Q35_5 == 1 | Q35_4== 1 | Q35_3 == 1 | Q35_2 == 1 | Q35_1 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q35_large <- sum(data$total_valid_Q35_large, na.rm=TRUE)
Fig27B_Large <- ggplot(data=subset(data_Q35_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q35_large), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Mediated",
"Semi-mediated",
"Semi-unmediated",
"Unmediated",
"Other"))
Fig27B_Large <- Fig27B_Large + theme_grey() + theme(
axis.title.x = element_text(size = 15),
axis.title.y = element_text(size = 15),
axis.text = element_text(size = 15))+
labs(y = "", x = "") + ggtitle("Large Institutions (n = 21)")
title27B <- ggdraw() + draw_label("Select the curation model(s) or workflow(s) currently offered in relation to your
institution’s Dataverse collection",
x = 0.5, hjust = 0.5, size = 15) +
theme(plot.margin = margin(0, 0, 0, 7))
#Bring plots together
Fig27B <- plot_grid(title27B,
Fig27B_Small, Fig27B_Medium, Fig27B_Large,
ncol = 1, rel_heights = c(0.1,1,1,1))
Fig27B

# ggsave("figure27b.png")
Figure 28. Which of the following services are provided by the
institutional Dataverse collection administrator(s) for your
institution’s Dataverse collection?
Q36_vars <- c("ResponseId", "Institution_Size", "Q36_2", "Q36_3", "Q36_4", "Q36_5", "Q36_6", "Q36_7", "Q36_8", "Q36_9")
data_Q36 <- data[Q36_vars]
data_Q36$Q36_2 <-factor(data_Q36$Q36_2,
levels = c(1),
labels = c("User consultations"))
data_Q36$Q36_3 <-factor(data_Q36$Q36_3,
levels = c(1),
labels = c("Platform training"))
data_Q36$Q36_4 <-factor(data_Q36$Q36_4,
levels = c(1),
labels = c("Dataset review"))
data_Q36$Q36_5 <-factor(data_Q36$Q36_5,
levels = c(1),
labels = c("Dataset curation"))
data_Q36$Q36_6 <-factor(data_Q36$Q36_6,
levels = c(1),
labels = c("Software/code curation"))
data_Q36$Q36_7 <-factor(data_Q36$Q36_7,
levels = c(1),
labels = c("Curation training"))
data_Q36$Q36_8 <-factor(data_Q36$Q36_8,
levels = c(1),
labels = c("Additional preservation processing"))
data_Q36$Q36_9 <-factor(data_Q36$Q36_9,
levels = c(1),
labels = c("Other"))
data_Q36_long <- data_Q36 %>%
pivot_longer(Q36_2:Q36_9)
data <- data %>% mutate(total_valid_Q36 = case_when(
Q36_2 == 1 | Q36_3 == 1 | Q36_4 == 1 | Q36_5 == 1 | Q36_6 == 1 | Q36_7 == 1 | Q36_8 == 1 | Q36_9 == 1 ~ 1
))
total_responses_Q36 <- sum(data$total_valid_Q36, na.rm=TRUE)
Fig28A <- ggplot(data=subset(data_Q36_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q36), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Other",
"Additional preservation processing",
"Curation training",
"Software/code curation",
"Dataset curation",
"Dataset review",
"Platform training",
"User consultations"))
Fig28A + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Which of the following services are provided by the institutional Dataverse collection administrator(s) for your institution’s Dataverse collection?", width=70))+theme(
plot.title = element_text(size = 15),
axis.title.x = element_text(size = 15),
axis.title.y = element_text(size = 15),
axis.text = element_text(size = 15))

# ggsave("figure28a.png")
Figure 28B. Support Capacity by Inst Size
data <- data %>% mutate(total_valid_Q36_small = case_when(
(Q36_9 == 1 | Q36_8 == 1 | Q36_7 == 1 | Q36_6 == 1 | Q36_5 == 1 | Q36_4 == 1 | Q36_3 == 1 | Q36_2 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q36_small <- sum(data$total_valid_Q36_small, na.rm=TRUE)
Fig28B_Small <- ggplot(data=subset(data_Q36_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q36_small), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Other",
"Additional preservation processing",
"Curation training",
"Software/code curation",
"Dataset curation",
"Dataset review",
"Platform training",
"User consultations"))
Fig28B_Small <- Fig28B_Small + theme_grey() + coord_flip() + theme(
axis.title.x = element_text(size = 15),
axis.title.y = element_text(size = 15),
axis.text = element_text(size = 15))+
labs(y = "", x = "") + ggtitle("Small Institutions (n = 9)")
data <- data %>% mutate(total_valid_Q36_medium = case_when(
(Q36_9 == 1 | Q36_8 == 1 | Q36_7 == 1 | Q36_6 == 1 | Q36_5 == 1 | Q36_4 == 1 | Q36_3 == 1 | Q36_2 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q36_medium <- sum(data$total_valid_Q36_medium, na.rm=TRUE)
Fig28B_Medium <- ggplot(data=subset(data_Q36_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q36_medium), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Other",
"Additional preservation processing",
"Curation training",
"Software/code curation",
"Dataset curation",
"Dataset review",
"Platform training",
"User consultations"))
Fig28B_Medium <- Fig28B_Medium + theme_grey() + coord_flip() + theme(
axis.title.x = element_text(size = 15),
axis.title.y = element_text(size = 15),
axis.text = element_text(size = 15))+
labs(y = "", x = "") + ggtitle("Medium Institutions (n = 15)")
data <- data %>% mutate(total_valid_Q36_large = case_when(
(Q36_9 == 1 | Q36_8 == 1 | Q36_7 == 1 | Q36_6 == 1 | Q36_5 == 1 | Q36_4 == 1 | Q36_3 == 1 | Q36_2 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q36_large <- sum(data$total_valid_Q36_large, na.rm=TRUE)
Fig28B_Large <- ggplot(data=subset(data_Q36_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q36_large), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Other",
"Additional preservation processing",
"Curation training",
"Software/code curation",
"Dataset curation",
"Dataset review",
"Platform training",
"User consultations"))
Fig28B_Large <- Fig28B_Large + theme_grey() + coord_flip() + theme(
axis.title.x = element_text(size = 15),
axis.title.y = element_text(size = 15),
axis.text = element_text(size = 15))+
labs(y = "", x = "") + ggtitle("Large Institutions (n = 21)")
title28B <- ggdraw() + draw_label("Which of the following services are provided by the
institutional Dataverse collection administrator(s) for your institution’s Dataverse collection?", x = 0.5, hjust = 0.5, size = 13) + theme(plot.margin = margin(0, 0, 0, 7))
#Bring plots together
Fig28B <- plot_grid(title28B,
Fig28B_Small, Fig28B_Medium, Fig28B_Large,
ncol = 1, rel_heights = c(0.1,1,1,1))
Fig28B

# ggsave("figure28b.png")
Figure 29. Which of the following review or data curation services
are offered by the institutional Dataverse collection administrator(s)
for datasets deposited in your institution’s Dataverse collection?
Q37_vars <- c("ResponseId", "Institution_Size", "Q37_1", "Q37_2", "Q37_4", "Q37_7", "Q37_8", "Q37_9", "Q37_10", "Q37_11", "Q37_14", "Q37_15", "Q37_16")
data_Q37 <- data[Q37_vars]
data_Q37$Q37_1 <-factor(data_Q37$Q37_1,
levels = c(1),
labels = c("Basic review"))
data_Q37$Q37_2 <-factor(data_Q37$Q37_2,
levels = c(1),
labels = c("Checking all the data and metadata components"))
data_Q37$Q37_4 <-factor(data_Q37$Q37_4,
levels = c(1),
labels = c("Ensuring that the dataset is well described"))
data_Q37$Q37_7 <-factor(data_Q37$Q37_7,
levels = c(1),
labels = c("Improve findability and usability of the data"))
data_Q37$Q37_8 <-factor(data_Q37$Q37_8,
levels = c(1),
labels = c("Enhancing discoverability and usability"))
data_Q37$Q37_9 <-factor(data_Q37$Q37_9,
levels = c(1),
labels = c("Ensuring the data are in open formats"))
data_Q37$Q37_10 <-factor(data_Q37$Q37_10,
levels = c(1),
labels = c("Ensuring the inclusion of persistent IDs"))
data_Q37$Q37_11 <-factor(data_Q37$Q37_11,
levels = c(1),
labels = c("Ensuring appropriate licencing information"))
data_Q37$Q37_14 <-factor(data_Q37$Q37_14,
levels = c(1),
labels = c("Maintain records of curation work"))
data_Q37$Q37_15 <-factor(data_Q37$Q37_15,
levels = c(1),
labels = c("Other"))
data_Q37$Q37_16 <-factor(data_Q37$Q37_16,
levels = c(1),
labels = c("None"))
data_Q37_long <- data_Q37 %>%
pivot_longer(Q37_1:Q37_16)
data <- data %>% mutate(total_valid_Q37 = case_when(
Q37_1 == 1 | Q37_2 == 1 | Q37_4 == 1 | Q37_7 == 1 | Q37_8 == 1 | Q37_9 == 1 | Q37_10 == 1 | Q37_11 == 1 | Q37_14 ==1 | Q37_15 == 1 | Q37_16 == 1 ~ 1
))
total_responses_Q37 <- sum(data$total_valid_Q37, na.rm=TRUE)
Fig29A <- ggplot(data=subset(data_Q37_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q37), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("None",
"Other",
"Maintain records of curation work",
"Ensuring appropriate licencing information",
"Ensuring the inclusion of persistent IDs",
"Ensuring the data are in open formats",
"Enhancing discoverability and usability",
"Improve findability and usability of the data",
"Ensuring that the dataset is well described",
"Checking all the data and metadata components",
"Basic review"))
Fig29A + theme_grey() + coord_flip() + labs(x = "", y = "", title=str_wrap("Which of the following review or data curation services are offered by the institutional Dataverse collection administrator(s) for datasets deposited in your institution’s Dataverse collection?"), width=90) +theme(
plot.title = element_text(size = 25),
axis.text = element_text(size = 20)) + coord_flip()

# ggsave("figure29A.png")
Figure 29B. Curation Services
data <- data %>% mutate(total_valid_Q37_small = case_when(
(Q37_16 == 1 | Q37_15 == 1 | Q37_14 == 1 | Q37_11 == 1 | Q37_10 == 1 | Q37_9 == 1 | Q37_8 == 1 | Q37_7 == 1 | Q37_4 == 1 | Q37_2 == 1 | Q37_1 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q37_small <- sum(data$total_valid_Q37_small, na.rm=TRUE)
Fig29B_Small <- ggplot(data=subset(data_Q37_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q37_small), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("None",
"Other",
"Maintain records of curation work",
"Ensuring appropriate licencing information",
"Ensuring the inclusion of persistent IDs",
"Ensuring the data are in open formats",
"Enhancing discoverability and usability",
"Improve findability and usability of the data",
"Ensuring that the dataset is well described",
"Checking all the data and metadata components",
"Basic review"))
Fig29B_Small <- Fig29B_Small + theme_grey() + theme(axis.text = element_text(size = 15)) + coord_flip() +
labs(y = "", x = "") + ggtitle("Small Institutions (n = 9)")
data <- data %>% mutate(total_valid_Q37_medium = case_when(
(Q37_16 == 1 | Q37_15 == 1 | Q37_14 == 1 | Q37_11 == 1 | Q37_10 == 1 | Q37_9 == 1 | Q37_8 == 1 | Q37_7 == 1 | Q37_4 == 1 | Q37_2 == 1 | Q37_1 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q37_medium <- sum(data$total_valid_Q37_medium, na.rm=TRUE)
Fig29B_Medium <- ggplot(data=subset(data_Q37_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q37_medium), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("None",
"Other",
"Maintain records of curation work",
"Ensuring appropriate licencing information",
"Ensuring the inclusion of persistent IDs",
"Ensuring the data are in open formats",
"Enhancing discoverability and usability",
"Improve findability and usability of the data",
"Ensuring that the dataset is well described",
"Checking all the data and metadata components",
"Basic review"))
Fig29B_Medium <- Fig29B_Medium + theme_grey() + theme(axis.text = element_text(size = 15)) + coord_flip() +
labs(y = "", x = "") + ggtitle("Medium Institutions (n = 16)")
data <- data %>% mutate(total_valid_Q37_large = case_when(
(Q37_16 == 1 | Q37_15 == 1 | Q37_14 == 1 | Q37_11 == 1 | Q37_10 == 1 | Q37_9 == 1 | Q37_8 == 1 | Q37_7 == 1 | Q37_4 == 1 | Q37_2 == 1 | Q37_1 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q37_large <- sum(data$total_valid_Q37_large, na.rm=TRUE)
Fig29B_Large <- ggplot(data=subset(data_Q37_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q37_large), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("None",
"Other",
"Maintain records of curation work",
"Ensuring appropriate licencing information",
"Ensuring the inclusion of persistent IDs",
"Ensuring the data are in open formats",
"Enhancing discoverability and usability",
"Improve findability and usability of the data",
"Ensuring that the dataset is well described",
"Checking all the data and metadata components",
"Basic review"))
Fig29B_Large <- Fig29B_Large + theme_grey() + theme(axis.text = element_text(size = 15)) + coord_flip() +
labs(y = "", x = "") + ggtitle("Large Institutions (n = 21)")
title29B <- ggdraw() + draw_label("Which of the following review or data curation services are offered by the institutional Dataverse
collection administrator(s) for datasets deposited in your institution’s Dataverse collection?", x = 0.5, hjust = 0.5, size = 18) +
theme(plot.margin = margin(0, 0, 0, 7))
#Bring plots together
Fig29B <- plot_grid(title29B,
Fig29B_Small, Fig29B_Medium, Fig29B_Large,
ncol = 1, rel_heights = c(0.1,1,1,1))
Fig29B

# ggsave("figure29B.png")
Figure 30. Who is eligible to deposit datasets into your
institution’s Dataverse collection?
Q38_vars <- c("ResponseId", "Institution_Size", "Q38_16", "Q38_1", "Q38_2", "Q38_5", "Q38_6", "Q38_7", "Q38_9", "Q38_10", "Q38_11", "Q38_12", "Q38_14", "Q38_15")
data_Q38 <- data[Q38_vars]
data_Q38$Q38_1 <-factor(data_Q38$Q38_1,
levels = c(1),
labels = c("Anyone with any affiliation to the institution"))
data_Q38$Q38_2 <-factor(data_Q38$Q38_2,
levels = c(1),
labels = c("Faculty"))
data_Q38$Q38_5 <-factor(data_Q38$Q38_5,
levels = c(1),
labels = c("Post-doctoral fellows or trainees"))
data_Q38$Q38_6 <-factor(data_Q38$Q38_6,
levels = c(1),
labels = c("Currently enrolled graduate students"))
data_Q38$Q38_7 <-factor(data_Q38$Q38_7,
levels = c(1),
labels = c("Currently enrolled undergraduate students"))
data_Q38$Q38_9 <-factor(data_Q38$Q38_9,
levels = c(1),
labels = c("Librarians/Library staff"))
data_Q38$Q38_10 <-factor(data_Q38$Q38_10,
levels = c(1),
labels = c("Other university department support role"))
data_Q38$Q38_11 <-factor(data_Q38$Q38_11,
levels = c(1),
labels = c("Emeriti faculty"))
data_Q38$Q38_12 <-factor(data_Q38$Q38_12,
levels = c(1),
labels = c("Alumni"))
data_Q38$Q38_14 <-factor(data_Q38$Q38_14,
levels = c(1),
labels = c("Other"))
data_Q38$Q38_15 <-factor(data_Q38$Q38_15,
levels = c(1),
labels = c("Don't know"))
data_Q38$Q38_16 <-factor(data_Q38$Q38_16,
levels = c(1),
labels = c("Everyone (including the public)"))
data_Q38_long <- data_Q38 %>%
pivot_longer(Q38_16:Q38_15)
data <- data %>% mutate(total_valid_Q38 = case_when(
Q38_16 == 1 | Q38_1 == 1 | Q38_2 == 1 | Q38_5 == 1 | Q38_6 == 1 | Q38_7 == 1 | Q38_9 == 1 | Q38_10 == 1 | Q38_11 ==1 | Q38_12 == 1 | Q38_14 == 1 | Q38_15 == 1 ~ 1
))
total_responses_Q38 <- sum(data$total_valid_Q38, na.rm=TRUE)
FigQ30A <- ggplot(data=subset(data_Q38_long, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q38), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"Other",
"Alumni",
"Emeriti faculty",
"Other university department support role",
"Librarians/Library staff",
"Currently enrolled undergraduate students",
"Currently enrolled graduate students",
"Post-doctoral fellows or trainees",
"Faculty",
"Anyone with any affiliation to the institution",
"Everyone (including the public)"))
FigQ30A + theme_grey() + coord_flip() + labs(x = "", y = "")+ theme(axis.text = element_text(size = 15))+
ggtitle("Who is eligible to deposit datasets into your institution’s Dataverse collection?") + coord_flip()

# ggsave("figure30A.png")
Figure Q30B. And by Inst Size
data <- data %>% mutate(total_valid_Q38_small = case_when(
(Q38_16 == 1 | Q38_15 == 1 | Q38_14 == 1 | Q38_12 == 1 | Q38_11 == 1 | Q38_10 == 1 | Q38_1 == 1 | Q38_9 == 1 | Q38_7 == 1 | Q38_6 == 1 | Q38_5 == 1 | Q38_2 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q38_small <- sum(data$total_valid_Q38_small, na.rm=TRUE)
FigQ30B_Small <- ggplot(data=subset(data_Q38_long, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q38_small), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"Other",
"Alumni",
"Emeriti faculty",
"Other university department support role",
"Librarians/Library staff",
"Currently enrolled undergraduate students",
"Currently enrolled graduate students",
"Post-doctoral fellows or trainees",
"Faculty",
"Anyone with any affiliation to the institution",
"Everyone (including the public)"))
FigQ30B_Small <- FigQ30B_Small + theme_grey() + coord_flip() + theme(axis.text = element_text(size = 15))+
labs(y = "", x = "") + ggtitle("Small Institutions (n = 8)")
data <- data %>% mutate(total_valid_Q38_medium = case_when(
(Q38_16 == 1 | Q38_15 == 1 | Q38_14 == 1 | Q38_12 == 1 | Q38_11 == 1 | Q38_10 == 1 | Q38_1 == 1 | Q38_9 == 1 | Q38_7 == 1 | Q38_6 == 1 | Q38_5 == 1 | Q38_2 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q38_medium <- sum(data$total_valid_Q38_medium, na.rm=TRUE)
FigQ30B_Medium <- ggplot(data=subset(data_Q38_long, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q38_medium), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"Other",
"Alumni",
"Emeriti faculty",
"Other university department support role",
"Librarians/Library staff",
"Currently enrolled undergraduate students",
"Currently enrolled graduate students",
"Post-doctoral fellows or trainees",
"Faculty",
"Anyone with any affiliation to the institution",
"Everyone (including the public)"))
FigQ30B_Medium <- FigQ30B_Medium + theme_grey() + coord_flip() + theme(axis.text = element_text(size = 15))+
labs(y = "", x = "") + ggtitle("Medium Institutions (n = 16)")
data <- data %>% mutate(total_valid_Q38_large = case_when(
(Q38_16 == 1 | Q38_15 == 1 | Q38_14 == 1 | Q38_12 == 1 | Q38_11 == 1 | Q38_10 == 1 | Q38_1 == 1 | Q38_9 == 1 | Q38_7 == 1 | Q38_6 == 1 | Q38_5 == 1 | Q38_2 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q38_large <- sum(data$total_valid_Q38_large, na.rm=TRUE)
FigQ30B_Large <- ggplot(data=subset(data_Q38_long, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q38_large), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Don't know",
"Other",
"Alumni",
"Emeriti faculty",
"Other university department support role",
"Librarians/Library staff",
"Currently enrolled undergraduate students",
"Currently enrolled graduate students",
"Post-doctoral fellows or trainees",
"Faculty",
"Anyone with any affiliation to the institution",
"Everyone (including the public)"))
FigQ30B_Large <- FigQ30B_Large + theme_grey() + coord_flip() + theme(axis.text = element_text(size = 15))+
labs(y = "", x = "") + ggtitle("Large Institutions (n = 21)")
titleQ30B <- ggdraw() + draw_label("Who is eligible to deposit datasets into your institution’s Dataverse collection?",
x = 0.5, hjust = 0.5, size = 13) +
theme(plot.margin = margin(0, 0, 0, 7))
#Bring plots together
FigQ30B <- plot_grid(titleQ30B,
FigQ30B_Small, FigQ30B_Medium, FigQ30B_Large,
ncol = 1, rel_heights = c(0.1,1,1,1))
FigQ30B

# ggsave("figure30b.png")
Figure 32. Which of the following user(s) or entities can be
assigned sub-collections in your institution’s Dataverse
collection?
Q40_vars <- c("ResponseId", "Institution_Size", "Q40_1", "Q40_2", "Q40_3", "Q40_4", "Q40_5", "Q40_6", "Q40_7", "Q40_8", "Q40_9", "Q40_10", "Q40_11")
data_Q40 <- data[Q40_vars]
data_Q40$Q40_1 <-factor(data_Q40$Q40_1,
levels = c(1),
labels = c("Any eligible depositor"))
data_Q40$Q40_2 <-factor(data_Q40$Q40_2,
levels = c(1),
labels = c("Individual faculty members/researchers"))
data_Q40$Q40_3 <-factor(data_Q40$Q40_3,
levels = c(1),
labels = c("Departments or Faculties"))
data_Q40$Q40_4 <-factor(data_Q40$Q40_4,
levels = c(1),
labels = c("Schools"))
data_Q40$Q40_5 <-factor(data_Q40$Q40_5,
levels = c(1),
labels = c("Organizations or institutions"))
data_Q40$Q40_6 <-factor(data_Q40$Q40_6,
levels = c(1),
labels = c("Laboratories or Research groups"))
data_Q40$Q40_7 <-factor(data_Q40$Q40_7,
levels = c(1),
labels = c("Research projects"))
data_Q40$Q40_8 <-factor(data_Q40$Q40_8,
levels = c(1),
labels = c("Journals"))
data_Q40$Q40_9 <-factor(data_Q40$Q40_9,
levels = c(1),
labels = c("Courses"))
data_Q40$Q40_10 <-factor(data_Q40$Q40_10,
levels = c(1),
labels = c("Other"))
data_Q40$Q40_11 <-factor(data_Q40$Q40_11,
levels = c(1),
labels = c("NA"))
data_Q40_long <- data_Q40 %>%
pivot_longer(Q40_1:Q40_11)
data <- data %>% mutate(total_valid_Q40 = case_when(
Q40_1 == 1 | Q40_2 == 1 | Q40_3 == 1 | Q40_4 == 1 | Q40_5 == 1 | Q40_6 == 1 | Q40_7 == 1 | Q40_8 == 1 | Q40_9 ==1 | Q40_10 == 1 ~ 1
)) #Note that we are not including Q40_11 in the total count here since this represents NAs
total_responses_Q40 <- sum(data$total_valid_Q40, na.rm=TRUE)
data_Q40_Subset <- data_Q40_long[!(data_Q40_long$name %in% c("Q40_11")),]
Fig32A <- ggplot(data=subset(data_Q40_Subset, !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q40), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Other",
"Courses",
"Journals",
"Research projects",
"Laboratories or Research groups",
"Organizations or institutions",
"Schools",
"Departments or Faculties",
"Individual faculty members/researchers",
"Any eligible depositor"))
Fig32A + theme_grey() + coord_flip() + labs(x = "", y = "")+theme(axis.text = element_text(size = 15))+
ggtitle("Which of the following user(s) or entities can be assigned sub-collections
in your institution’s Dataverse collection?") + coord_flip()

# ggsave("figure32A.png")
Figure 32B. And by Inst Size
data <- data %>% mutate(total_valid_Q40_small = case_when(
(Q40_10 == 1 | Q40_9 == 1 | Q40_8 == 1 | Q40_7 == 1 | Q40_7 == 1 | Q40_6 == 1 | Q40_5 == 1 | Q40_4 == 1 | Q40_3 == 1 | Q40_2 == 1 | Q40_1 == 1) & Institution_Size == "small" ~ 1
))
total_responses_Q40_small <- sum(data$total_valid_Q40_small, na.rm=TRUE)
Fig32B_Small <- ggplot(data=subset(data_Q40_Subset, Institution_Size %in% "small", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q40_small), fill="#2a6fad") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Other",
"Courses",
"Journals",
"Research projects",
"Laboratories or Research groups",
"Organizations or institutions",
"Schools",
"Departments or Faculties",
"Individual faculty members/researchers",
"Any eligible depositor"))
Fig32B_Small <- Fig32B_Small + theme_grey() + coord_flip() + theme(axis.text = element_text(size = 15))+
labs(y = "", x = "") + ggtitle("Small Institutions (n = 5)")
data <- data %>% mutate(total_valid_Q40_medium = case_when(
(Q40_10 == 1 | Q40_9 == 1 | Q40_8 == 1 | Q40_7 == 1 | Q40_7 == 1 | Q40_6 == 1 | Q40_5 == 1 | Q40_4 == 1 | Q40_3 == 1 | Q40_2 == 1 | Q40_1 == 1) & Institution_Size == "medium" ~ 1
))
total_responses_Q40_medium <- sum(data$total_valid_Q40_medium, na.rm=TRUE)
Fig32B_Medium <- ggplot(data=subset(data_Q40_Subset, Institution_Size %in% "medium", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q40_medium), fill="#0a8774") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Other",
"Courses",
"Journals",
"Research projects",
"Laboratories or Research groups",
"Organizations or institutions",
"Schools",
"Departments or Faculties",
"Individual faculty members/researchers",
"Any eligible depositor"))
Fig32B_Medium <- Fig32B_Medium + theme_grey() + coord_flip() + theme(axis.text = element_text(size = 15))+
labs(y = "", x = "") + ggtitle("Medium Institutions (n = 12)")
data <- data %>% mutate(total_valid_Q40_large = case_when(
(Q40_10 == 1 | Q40_9 == 1 | Q40_8 == 1 | Q40_7 == 1 | Q40_7 == 1 | Q40_6 == 1 | Q40_5 == 1 | Q40_4 == 1 | Q40_3 == 1 | Q40_2 == 1 | Q40_1 == 1) & Institution_Size == "large" ~ 1
))
total_responses_Q40_large <- sum(data$total_valid_Q40_large, na.rm=TRUE)
Fig32B_Large <- ggplot(data=subset(data_Q40_Subset, Institution_Size %in% "large", !is.na(value)), aes(x=value)) +
geom_bar(aes(y = (..count..)/total_responses_Q40_large), fill="#5e218c") +
scale_y_continuous(labels=scales::percent, limits = c(0,1)) +
scale_x_discrete(limits = c("Other",
"Courses",
"Journals",
"Research projects",
"Laboratories or Research groups",
"Organizations or institutions",
"Schools",
"Departments or Faculties",
"Individual faculty members/researchers",
"Any eligible depositor"))
Fig32B_Large <- Fig32B_Large + theme_grey() + coord_flip() + theme(axis.text = element_text(size = 15))+
labs(y = "", x = "") + ggtitle("Large Institutions (n = 21)")
title32B <- ggdraw() + draw_label("Which of the following user(s) or entities can be assigned sub-collections in your institution's Dataverse collection?",
x = 0.5, hjust = 0.5, size = 13) +
theme(plot.margin = margin(0, 0, 0, 7))
#Bring plots together
Fig32B <- plot_grid(title32B,
Fig32B_Small, Fig32B_Medium, Fig32B_Large,
ncol = 1, rel_heights = c(0.1,1,1,1))
Fig32B

# ggsave("figure32b.png")
Dataverse software features
Figure 34. Usefulness of current features (Q43)
levels(data$Q43_1) <- c(levels(data$Q43_1), "1", "2", "3", "4", "5", "6", "7")
data$Q43_1 <- factor(data$Q43_1, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_2) <- c(levels(data$Q43_2), "1", "2", "3", "4", "5", "6", "7")
data$Q43_2 <- factor(data$Q43_2, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_3) <- c(levels(data$Q43_3), "1", "2", "3", "4", "5", "6", "7")
data$Q43_3 <- factor(data$Q43_3, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_4) <- c(levels(data$Q43_4), "1", "2", "3", "4", "5", "6", "7")
data$Q43_4 <- factor(data$Q43_4, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_5) <- c(levels(data$Q43_5), "1", "2", "3", "4", "5", "6", "7")
data$Q43_5 <- factor(data$Q43_5, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_6) <- c(levels(data$Q43_6), "1", "2", "3", "4", "5", "6", "7")
data$Q43_6 <- factor(data$Q43_6, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_7) <- c(levels(data$Q43_7), "1", "2", "3", "4", "5", "6", "7")
data$Q43_7 <- factor(data$Q43_7, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_8) <- c(levels(data$Q43_8), "1", "2", "3", "4", "5", "6", "7")
data$Q43_8 <- factor(data$Q43_8, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_9) <- c(levels(data$Q43_9), "1", "2", "3", "4", "5", "6", "7")
data$Q43_9 <- factor(data$Q43_9, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_10) <- c(levels(data$Q43_10), "1", "2", "3", "4", "5", "6", "7")
data$Q43_10 <- factor(data$Q43_10, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_11) <- c(levels(data$Q43_11), "1", "2", "3", "4", "5", "6", "7")
data$Q43_11 <- factor(data$Q43_11, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_12) <- c(levels(data$Q43_12), "1", "2", "3", "4", "5", "6", "7")
data$Q43_12 <- factor(data$Q43_12, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_13) <- c(levels(data$Q43_13), "1", "2", "3", "4", "5", "6", "7")
data$Q43_13 <- factor(data$Q43_13, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_14) <- c(levels(data$Q43_14), "1", "2", "3", "4", "5", "6", "7")
data$Q43_14 <- factor(data$Q43_14, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_15) <- c(levels(data$Q43_15), "1", "2", "3", "4", "5", "6", "7")
data$Q43_15 <- factor(data$Q43_15, levels=c("1", "2", "3", "4", "5", "6", "7"))
levels(data$Q43_16) <- c(levels(data$Q43_16), "1", "2", "3", "4", "5", "6", "7")
data$Q43_16 <- factor(data$Q43_16, levels=c("1", "2", "3", "4", "5", "6", "7"))
Q43Colors <-
setNames( c("#5e218c","#0a8774","#2a6fad","#F1C40F","#E74C3C","#B2BABB","#D6EAF8","#A04000","#1C2833","#FADBD8")
, levels(data$Q43_1) )
Fig34_1 <- ggplot(data=subset(data, !is.na(Q43_1)), aes(x = Q43_1, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) + labs(y = "", x = "", title=str_wrap("Disciplinary metadata standards")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_2 <- ggplot(data=subset(data, !is.na(Q43_2)), aes(x = Q43_2, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) + labs(y = "", x = "", title=str_wrap("Creative Commons license templates or customizable terms of use")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_3 <- ggplot(data=subset(data, !is.na(Q43_3)), aes(x = Q43_3, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("Customizable collection pages")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_4 <- ggplot(data=subset(data, !is.na(Q43_4)), aes(x = Q43_4, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("File format normalization for tabular files (e.g. SPSS, Excel)")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_5 <- ggplot(data=subset(data, !is.na(Q43_5)), aes(x = Q43_5, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("Preservation support through monthly integrity checks in combination with secure storage")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_6 <- ggplot(data=subset(data, !is.na(Q43_6)), aes(x = Q43_6, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("APIs for external tool interoperability and integration")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_7 <- ggplot(data=subset(data, !is.na(Q43_7)), aes(x = Q43_7, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("Metrics application")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_8 <- ggplot(data=subset(data, !is.na(Q43_8)), aes(x = Q43_8, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("Data Curation Tool")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_9 <- ggplot(data=subset(data, !is.na(Q43_9)), aes(x = Q43_9, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("Data Explorer")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_10 <- ggplot(data=subset(data, !is.na(Q43_10)), aes(x = Q43_10, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("File Previewers")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_11 <- ggplot(data=subset(data, !is.na(Q43_11)), aes(x = Q43_11, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("Curation labels")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_12 <- ggplot(data=subset(data, !is.na(Q43_12)), aes(x = Q43_12, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("Automatic Embargos")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_13 <- ggplot(data=subset(data, !is.na(Q43_13)), aes(x = Q43_13, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("Guestbooks")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_14 <- ggplot(data=subset(data, !is.na(Q43_14)), aes(x = Q43_14, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("DVUploader (command-line bulk upload tool)")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_15 <- ggplot(data=subset(data, !is.na(Q43_15)), aes(x = Q43_15, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "",title=str_wrap("Download scripts")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
Fig34_16 <- ggplot(data=subset(data, !is.na(Q43_16)), aes(x = Q43_16, group=Institution_Size)) +
geom_bar(aes(y = ..prop.., fill = factor(..x..)), stat="count") +
scale_x_discrete(labels=c("1" = "Not at all useful",
"2" = "Not very useful",
"3" = "Neutral",
"4" = "Useful",
"5" = "Extremely useful",
"6" = "Don't know",
"7" = "NA"), drop=F) +
labs(y = "", x = "", title=str_wrap("Other")) +
facet_grid(~Institution_Size) +
scale_y_continuous(labels = scales::percent, limits = c(0,1)) +
scale_fill_manual(values=Q43Colors) + theme(legend.position = "none", strip.text.x = element_text(size = 15), axis.text=element_text(size=15), plot.title=element_text(size=20))
#Fig34_row <- plot_grid(Fig34_1, Fig34_2, Fig34_3, Fig34_4, Fig34_5, Fig34_6, Fig34_7, Fig34_8, Fig34_9, Fig34_10, Fig34_11, Fig34_12, Fig34_13, Fig34_14, Fig34_15, Fig34_16, align = "h", nrow = 16, rel_widths = c(1,1))
# add the title
#Fig34_title <- ggdraw() + draw_label("For your institutional Dataverse collection, how useful are each of the following Dataverse
#software features and functionality?", fontface = 'bold', x = 0.5, hjust = 0.5, size = 20) + theme(plot.margin = margin(0, 0, 0, 7))
#Fig34 <- plot_grid(
#Fig34_title, Fig34_row,
#ncol = 1,
#rel_heights = c(0.05, 1)
#)
Fig34_1 + coord_flip()

# ggsave("figure34_1.png")
Fig34_2+ coord_flip()

# ggsave("figure34_2.png")
Fig34_3+ coord_flip()

# ggsave("figure34_3.png")
Fig34_4+ coord_flip()

# ggsave("figure34_4.png")
Fig34_5+ coord_flip()

# ggsave("figure34_5.png")
Fig34_6+ coord_flip()

# ggsave("figure34_5.png")
Fig34_7+ coord_flip()

# ggsave("figure34_7.png")
Fig34_8+ coord_flip()

# ggsave("figure34_8.png")
Fig34_9+ coord_flip()

# ggsave("figure34_9.png")
Fig34_10+ coord_flip()

# ggsave("figure34_10.png")
Fig34_11+ coord_flip()

# ggsave("figure34_11.png")
Fig34_12+ coord_flip()

# ggsave("figure34_12.png")
Fig34_13+ coord_flip()

# ggsave("figure34_13.png")
Fig34_14+ coord_flip()

# ggsave("figure34_14.png")
Fig34_15+ coord_flip()

# ggsave("figure34_15.png")
Fig34_16+ coord_flip()

# ggsave("figure34_16.png")
Figure 34_1 - 34_16. Corresponding frequency tables
data %>%
group_by(Institution_Size) %>%
count(Q43_1) %>%
drop_na() %>%
reframe(Institution_Size, Q43_1, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_2) %>%
drop_na() %>%
reframe(Institution_Size, Q43_2, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_3) %>%
drop_na() %>%
reframe(Institution_Size, Q43_3, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_4) %>%
drop_na() %>%
reframe(Institution_Size, Q43_4, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_5) %>%
drop_na() %>%
reframe(Institution_Size, Q43_5, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_6) %>%
drop_na() %>%
reframe(Institution_Size, Q43_6, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_7) %>%
drop_na() %>%
reframe(Institution_Size, Q43_7, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_8) %>%
drop_na() %>%
reframe(Institution_Size, Q43_8, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_9) %>%
drop_na() %>%
reframe(Institution_Size, Q43_9, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_10) %>%
drop_na() %>%
reframe(Institution_Size, Q43_10, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_11) %>%
drop_na() %>%
reframe(Institution_Size, Q43_11, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_12) %>%
drop_na() %>%
reframe(Institution_Size, Q43_12, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_13) %>%
drop_na() %>%
reframe(Institution_Size, Q43_13, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_14) %>%
drop_na() %>%
reframe(Institution_Size, Q43_14, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_15) %>%
drop_na() %>%
reframe(Institution_Size, Q43_15, n, Percentage = n / sum(n) * 100)
data %>%
group_by(Institution_Size) %>%
count(Q43_16) %>%
drop_na() %>%
reframe(Institution_Size, Q43_16, n, Percentage = n / sum(n) * 100)
NA
Figure 35B. Enhancements needed ranking (Q44)
Fig35_1 <- ggplot(data, aes(x = "Increase institutional storage allocation", fill = Q44_1)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_2 <- ggplot(data, aes(x = "Big data support for upload/download", fill = Q44_2)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_3 <- ggplot(data, aes(x = "Integrate with tools to support sensitive data deposit and sharing", fill = Q44_3)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_4 <- ggplot(data, aes(x = "Develop additional file previewers", fill = Q44_4)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_5 <- ggplot(data, aes(x = "Enhance data explorer tools", fill = Q44_5)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_6 <- ggplot(data, aes(x = "Improve metrics application", fill = Q44_6)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_7 <- ggplot(data, aes(x = "Improve data curation support", fill = Q44_7)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_8 <- ggplot(data, aes(x = "Improve metadata and documentation support", fill = Q44_8)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_9 <- ggplot(data, aes(x = "Improve interoperability with other platforms and repositories", fill = Q44_9)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_10 <- ggplot(data, aes(x = "Improve discoverability of datasets", fill = Q44_10)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_11 <- ggplot(data, aes(x = "Improve support for research conducted by and with Indigenous communities", fill = Q44_11)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_col <- plot_grid(Fig35_3, Fig35_11, Fig35_2, Fig35_8, Fig35_7, Fig35_10, Fig35_4,
Fig35_1, Fig35_5, Fig35_9, Fig35_6, align = "v", ncol = 1)
#get legend
Fig35_0 <- ggplot(data, aes(x = "Increase institutional storage allocation", fill = Q44_1)) +
geom_bar() + coord_flip() + labs(fill = "Ranking")
Fig35_legend <- get_legend(Fig35_0)
Fig35_plot <- plot_grid(Fig35_col, Fig35_legend, rel_widths = c(9,1))
# now add the title
Fig35_title <- ggdraw() + draw_label("What enhancements for features and functionality would be beneficial
for your institutional Dataverse collection??", fontface = 'bold', x = 0.5, hjust = 0.5, size = 13) + theme(plot.margin = margin(0, 0, 0, 7))
# add x axis label
x.grob <- textGrob("Proportion of Respondents",
gp=gpar(col="black", fontsize=8))
Fig35B <- plot_grid(
Fig35_title, Fig35_plot, x.grob,
ncol = 1, rel_heights = c(0.1, 1, 0.1)
)
Fig35B

Figure 35C. Enhancements needed ranking (Q44) Institution_Size =
Small
Fig35_1S <- ggplot(subset(data, Institution_Size %in% c("small")), aes(x = "Increase institutional storage allocation", fill = Q44_1)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_2S <- ggplot(subset(data, Institution_Size %in% c("small")), aes(x = "Big data support for upload/download", fill = Q44_2)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_3S <- ggplot(subset(data, Institution_Size %in% c("small")), aes(x = "Integrate with tools to support sensitive data deposit and sharing", fill = Q44_3)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_4S <- ggplot(subset(data, Institution_Size %in% c("small")), aes(x = "Develop additional file previewers", fill = Q44_4)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_5S <- ggplot(subset(data, Institution_Size %in% c("small")), aes(x = "Enhance data explorer tools", fill = Q44_5)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_6S <- ggplot(subset(data, Institution_Size %in% c("small")), aes(x = "Improve metrics application", fill = Q44_6)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_7S <- ggplot(subset(data, Institution_Size %in% c("small")), aes(x = "Improve data curation support", fill = Q44_7)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_8S <- ggplot(subset(data, Institution_Size %in% c("small")), aes(x = "Improve metadata and documentation support", fill = Q44_8)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_9S <- ggplot(subset(data, Institution_Size %in% c("small")), aes(x = "Improve interoperability with other platforms and repositories", fill = Q44_9)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_10S <- ggplot(subset(data, Institution_Size %in% c("small")), aes(x = "Improve discoverability of datasets", fill = Q44_10)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_11S <- ggplot(subset(data, Institution_Size %in% c("small")), aes(x = "Improve support for research conducted by and with Indigenous communities", fill = Q44_11)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35S_col <- plot_grid(Fig35_3S, Fig35_11S, Fig35_2S, Fig35_8S, Fig35_7S, Fig35_10S, Fig35_4S,
Fig35_1S, Fig35_5S, Fig35_9S, Fig35_6S, align = "v", ncol = 1)
#get legend
Fig35_0S <- ggplot(data, aes(x = "Increase institutional storage allocation", fill = Q44_1)) +
geom_bar() + coord_flip() + labs(fill = "Ranking")
Fig35_legendS <- get_legend(Fig35_0S)
Fig35_plotS <- plot_grid(Fig35S_col, Fig35_legendS, rel_widths = c(9,1))
# now add the title
Fig35_titleS <- ggdraw() + draw_label("Small Institutions: What enhancements for features and functionality would be beneficial
for your institutional Dataverse collection??", fontface = 'bold', x = 0.5, hjust = 0.5, size = 13) + theme(plot.margin = margin(0, 0, 0, 7))
# add x axis label
x.grob <- textGrob("Proportion of Respondents",
gp=gpar(col="black", fontsize=8))
Fig35C <- plot_grid(
Fig35_titleS, Fig35_plotS, x.grob,
ncol = 1, rel_heights = c(0.1, 1, 0.1)
)
Fig35C

Figure 35D. Enhancements needed ranking (Q44) Institution_Size =
Medium
Fig35_1M <- ggplot(subset(data, Institution_Size %in% c("medium")), aes(x = "Increase institutional storage allocation", fill = Q44_1)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_2M <- ggplot(subset(data, Institution_Size %in% c("medium")), aes(x = "Big data support for upload/download", fill = Q44_2)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_3M <- ggplot(subset(data, Institution_Size %in% c("medium")), aes(x = "Integrate with tools to support sensitive data deposit and sharing", fill = Q44_3)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_4M <- ggplot(subset(data, Institution_Size %in% c("medium")), aes(x = "Develop additional file previewers", fill = Q44_4)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_5M <- ggplot(subset(data, Institution_Size %in% c("medium")), aes(x = "Enhance data explorer tools", fill = Q44_5)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_6M <- ggplot(subset(data, Institution_Size %in% c("medium")), aes(x = "Improve metrics application", fill = Q44_6)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_7M <- ggplot(subset(data, Institution_Size %in% c("medium")), aes(x = "Improve data curation support", fill = Q44_7)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_8M <- ggplot(subset(data, Institution_Size %in% c("medium")), aes(x = "Improve metadata and documentation support", fill = Q44_8)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_9M <- ggplot(subset(data, Institution_Size %in% c("medium")), aes(x = "Improve interoperability with other platforms and repositories", fill = Q44_9)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_10M <- ggplot(subset(data, Institution_Size %in% c("medium")), aes(x = "Improve discoverability of datasets", fill = Q44_10)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_11M <- ggplot(subset(data, Institution_Size %in% c("medium")), aes(x = "Improve support for research conducted by and with Indigenous communities", fill = Q44_11)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35M_col <- plot_grid(Fig35_3M, Fig35_11M, Fig35_2M, Fig35_8M, Fig35_7M, Fig35_10M, Fig35_4M,
Fig35_1M, Fig35_5M, Fig35_9M, Fig35_6M, align = "v", ncol = 1)
#get legend
Fig35_0M <- ggplot(data, aes(x = "Increase institutional storage allocation", fill = Q44_1)) +
geom_bar() + coord_flip() + labs(fill = "Ranking")
Fig35_legendM <- get_legend(Fig35_0M)
Fig35_plotM <- plot_grid(Fig35M_col, Fig35_legendM, rel_widths = c(9,1))
# now add the title
Fig35_titleM <- ggdraw() + draw_label("Medium Institutions: What enhacements for features and functionality would be beneficial
for your institutional Dataverse collection??", fontface = 'bold', x = 0.5, hjust = 0.5, size = 13) + theme(plot.margin = margin(0, 0, 0, 7))
# add x axis label
x.grob <- textGrob("Proportion of Respondents",
gp=gpar(col="black", fontsize=8))
Fig35D <- plot_grid(
Fig35_titleM, Fig35_plotM, x.grob,
ncol = 1, rel_heights = c(0.1, 1, 0.1)
)
Fig35D

Figure 35E. Enhancements needed ranking (Q44) Institution_Size =
Large
Fig35_1L <- ggplot(subset(data, Institution_Size %in% c("large")), aes(x = "Increase institutional storage allocation", fill = Q44_1)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_2L <- ggplot(subset(data, Institution_Size %in% c("large")), aes(x = "Big data support for upload/download", fill = Q44_2)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_3L <- ggplot(subset(data, Institution_Size %in% c("large")), aes(x = "Integrate with tools to support sensitive data deposit and sharing", fill = Q44_3)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_4L <- ggplot(subset(data, Institution_Size %in% c("large")), aes(x = "Develop additional file previewers", fill = Q44_4)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_5L <- ggplot(subset(data, Institution_Size %in% c("large")), aes(x = "Enhance data explorer tools", fill = Q44_5)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_6L <- ggplot(subset(data, Institution_Size %in% c("large")), aes(x = "Improve metrics application", fill = Q44_6)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_7L <- ggplot(subset(data, Institution_Size %in% c("large")), aes(x = "Improve data curation support", fill = Q44_7)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_8L <- ggplot(subset(data, Institution_Size %in% c("large")), aes(x = "Improve metadata and documentation support", fill = Q44_8)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_9L <- ggplot(subset(data, Institution_Size %in% c("large")), aes(x = "Improve interoperability with other platforms and repositories", fill = Q44_9)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_10L <- ggplot(subset(data, Institution_Size %in% c("large")), aes(x = "Improve discoverability of datasets", fill = Q44_10)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35_11L <- ggplot(subset(data, Institution_Size %in% c("large")), aes(x = "Improve support for research conducted by and with Indigenous communities", fill = Q44_11)) +
geom_bar(position="fill") + coord_flip() + labs(x = NULL, y = NULL) + theme(legend.position = "none")
Fig35L_col <- plot_grid(Fig35_3L, Fig35_11L, Fig35_2L, Fig35_8L, Fig35_7L, Fig35_10L, Fig35_4L,
Fig35_1L, Fig35_5L, Fig35_9L, Fig35_6L, align = "v", ncol = 1)
#get legend
Fig35_0L <- ggplot(data, aes(x = "Increase institutional storage allocation", fill = Q44_1)) +
geom_bar() + coord_flip() + labs(fill = "Ranking")
Fig35_legendL <- get_legend(Fig35_0L)
Fig35_plotL <- plot_grid(Fig35L_col, Fig35_legendL, rel_widths = c(9,1))
# now add the title
Fig35_titleL <- ggdraw() + draw_label("Large Institutions: What enhancements for features and functionality would be beneficial
for your institutional Dataverse collection??", fontface = 'bold', x = 0.5, hjust = 0.5, size = 13) + theme(plot.margin = margin(0, 0, 0, 7))
# add x axis label
x.grob <- textGrob("Proportion of Respondents",
gp=gpar(col="black", fontsize=8))
Fig35E <- plot_grid(
Fig35_titleL, Fig35_plotL, x.grob,
ncol = 1, rel_heights = c(0.1, 1, 0.1)
)
Fig35E
