From 1bcdf66b0bbba4ca5da69fec2ddf24efa143e724 Mon Sep 17 00:00:00 2001 From: Olivier CARON <78161167+oliviercaron@users.noreply.github.com> Date: Wed, 13 Dec 2023 23:57:10 +0100 Subject: [PATCH] update stm --- SLR_stm.html | 5297 +++-- SLR_stm.qmd | 206 +- SLR_stm_files/figure-html/communities-2-2.png | Bin 25578 -> 19305 bytes SLR_stm_files/figure-html/description-1.png | Bin 0 -> 93848 bytes SLR_stm_files/figure-html/entropy-1.png | Bin 33061 -> 41600 bytes SLR_stm_files/figure-html/entropy-2.png | Bin 15624 -> 19537 bytes SLR_stm_files/figure-html/keywords-1.png | Bin 0 -> 58659 bytes SLR_stm_files/figure-html/keywords-2.png | Bin 0 -> 183854 bytes SLR_stm_files/figure-html/keywords1-1.png | Bin 0 -> 58659 bytes SLR_stm_files/figure-html/keywords1-2.png | Bin 0 -> 200064 bytes SLR_stm_files/figure-html/keywords2-1.png | Bin 0 -> 139159 bytes SLR_stm_files/figure-html/keywords2-2.png | Bin 0 -> 35328 bytes SLR_stm_files/figure-html/keywords2-3.png | Bin 0 -> 33332 bytes SLR_stm_files/figure-html/keywords3-1.png | Bin 0 -> 19872 bytes SLR_stm_files/figure-html/keywords4-1.png | Bin 0 -> 16889 bytes ...-width- 17column- screen-inset-right-1.png | Bin 0 -> 111959 bytes ...dth- 10column- pagefig-align- center-1.png | Bin 88634 -> 88686 bytes ...-width- 15column- screen-inset-right-1.png | Bin 0 -> 88686 bytes ...-width- 15column- screen-inset-right-2.png | Bin 0 -> 24083 bytes ...-width- 15column- screen-inset-right-3.png | Bin 0 -> 22222 bytes ...-width- 10column- screen-inset-right-1.png | Bin 0 -> 53801 bytes ...-width- 10column- screen-inset-right-2.png | Bin 0 -> 119401 bytes images/keywords.jpeg | Bin 926857 -> 1704557 bytes images/keywords04.jpeg | Bin 0 -> 239144 bytes networks/authors/1996_2015_VF.html | 646 +- networks/authors/1996_2016_VF.html | 1258 +- networks/authors/1996_2017_VF.html | 1954 +- networks/authors/1996_2018_VF.html | 2842 +-- networks/authors/1996_2019_VF.html | 4426 ++--- networks/authors/1996_2020_VF.html | 6236 +++--- networks/authors/1996_2021_VF.html | 8506 ++++---- networks/authors/1996_2022_VF.html | 12524 ++++++------ networks/authors/1996_2023_VF.html | 16550 ++++++++-------- stm_effects.rds | Bin 647934 -> 647931 bytes stm_model.rds | Bin 358823 -> 358820 bytes 35 files changed, 30006 insertions(+), 30439 deletions(-) create mode 100644 SLR_stm_files/figure-html/description-1.png create mode 100644 SLR_stm_files/figure-html/keywords-1.png create mode 100644 SLR_stm_files/figure-html/keywords-2.png create mode 100644 SLR_stm_files/figure-html/keywords1-1.png create mode 100644 SLR_stm_files/figure-html/keywords1-2.png create mode 100644 SLR_stm_files/figure-html/keywords2-1.png create mode 100644 SLR_stm_files/figure-html/keywords2-2.png create mode 100644 SLR_stm_files/figure-html/keywords2-3.png create mode 100644 SLR_stm_files/figure-html/keywords3-1.png create mode 100644 SLR_stm_files/figure-html/keywords4-1.png create mode 100644 SLR_stm_files/figure-html/label - descriptionfig-height- 7fig-width- 17column- screen-inset-right-1.png create mode 100644 SLR_stm_files/figure-html/label - keywords2fig-height- 6fig-width- 15column- screen-inset-right-1.png create mode 100644 SLR_stm_files/figure-html/label - keywords2fig-height- 6fig-width- 15column- screen-inset-right-2.png create mode 100644 SLR_stm_files/figure-html/label - keywords2fig-height- 6fig-width- 15column- screen-inset-right-3.png create mode 100644 SLR_stm_files/figure-html/label - keywordsfig-height- 5fig-width- 10column- screen-inset-right-1.png create mode 100644 SLR_stm_files/figure-html/label - keywordsfig-height- 5fig-width- 10column- screen-inset-right-2.png create mode 100644 images/keywords04.jpeg diff --git a/SLR_stm.html b/SLR_stm.html index a823921..a65a1f6 100644 --- a/SLR_stm.html +++ b/SLR_stm.html @@ -8,7 +8,7 @@ - + Systematic Literature Review - + - - + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Top 5 communities in terms of number of authorsProportion of citations and authors for each community
CommunityNumber of authorsCommunityNumber of citationsNumber of authorsProportion of citations (in %)Proportion of authors (in %)Cumulative proportion of citations (in %)Cumulative proportion of authors (in %)
935
2128
2923
4520
5720
2160502818.763.0318.763.03
945333214.063.4732.816.50
452524237.832.4940.648.99
291321234.102.4944.7411.48
57403201.252.1745.9913.65
- -
-
-Code -
# Compute the sum of citations per community
-citations_per_community <- df_1996_2023 %>%
-  group_by(community) %>%
-  dplyr::summarise(citations = sum(citations)) %>%
-  arrange(-citations) %>%
-  dplyr::mutate(cumulative_citations = cumsum(citations),
-         percentage = cumulative_citations / sum(citations) * 100)
-
-citations_per_community %>% datatable(rownames = FALSE, extensions = 'Buttons', options = list(dom = 'Bfrtip', buttons = c('copy', 'csv', 'excel', 'pdf', 'print')))
-
-
- -
- -
-
-Code -
# No ticks and labels
-ggplot(citations_per_community, aes(x = reorder(community, -citations), y = citations)) +
-  geom_bar(stat = "identity", fill = "steelblue") +
-  geom_point(aes(y = cumulative_citations), group = 1, color = "darkred", size = 1) +
-  scale_y_continuous(
-    name = "Cumulative number of citations", 
-    sec.axis = sec_axis(~./max(citations_per_community$cumulative_citations) * 100, name = "Cumulative percentage")
-  ) +
-  geom_hline(yintercept = max(citations_per_community$cumulative_citations) * 0.25, linetype = "dashed", color = "black") +
-  geom_hline(yintercept = max(citations_per_community$cumulative_citations) * 0.50, linetype = "dashed", color = "black") +
-  geom_hline(yintercept = max(citations_per_community$cumulative_citations) * 0.75, linetype = "dashed", color = "black") +
-  theme_bw() +
-  theme(
-    panel.border = element_blank(),
-    panel.grid.major = element_blank(),
-    panel.grid.minor = element_blank(),
-    axis.line = element_line(colour = "black"),
-    axis.ticks.x = element_blank(),  # Supprimer les marques de graduation sur l'axe des x
-    axis.text.x = element_blank()  # Rendre les étiquettes de l'axe des x invisibles
-  ) +
-  labs(
-    title = "Pareto chart of citations per community",
-    x = "Community",
-    y = "Number of Citations"
-  )
-
-
-
-
-

-
-
-
-
-Code -
ggsave("images/pareto_chart_ggplot_no_xtickslabels.png", width = 20, height = 10, dpi = 300)
-
-
- -
-

6.2.2 Proportion of the top 5 communities in terms of citations and authors

-
-
-Code -
#|label: gt
-# Sum of all citations from filtered_df for each community of the top 5
-top5_communities_citations <- filtered_df %>%
-  group_by(community) %>%
-  dplyr::summarise(citations = sum(citations)) %>%
-  arrange(desc(citations))
-
-sum_citations_df_1996_2023 <- sum(df_1996_2023$citations)
-
-# Compute the proportion of citations and number of authors for each community
-top5_communities_citations <- top5_communities_citations %>% 
-  left_join(top5_communities, by = "community") %>%
-  dplyr::mutate(prop_citations = citations / sum_citations_df_1996_2023) %>%
-  dplyr::mutate(prop_authors = n / nrow(df_1996_2023)) %>%
-  dplyr::mutate(cumul_prop_citations = round(cumsum(prop_citations) * 100,2)) %>%
-  dplyr::mutate(cumul_prop_authors = round(cumsum(prop_authors) * 100,2)) %>% 
-  dplyr::mutate(prop_citations = round(prop_citations * 100,2)) %>%
-  dplyr::mutate(prop_authors = round(prop_authors * 100,2)) %>%
-  arrange(desc(citations))
-
-gt_top5_communities_citations <- top5_communities_citations %>%
-  gt() %>%
-  tab_header(title = "Proportion of citations and authors for each community") %>%
-  cols_label(community = "Community",
-             citations = "Number of citations",
-             n = "Number of authors",
-             prop_citations = "Proportion of citations (in %)",
-             prop_authors = "Proportion of authors (in %)",
-             cumul_prop_citations = "Cumulative proportion of citations (in %)",
-             cumul_prop_authors = "Cumulative proportion of authors (in %)") %>%
-  cols_align(align = "center", columns = everything())
-
-# save gt in png
-#gtsave(gt_top5_communities_citations, "images/top5_communities_citations.png")
-#gtsave(gt_top5_communities_citations, filename = "top5_communities_citations.png")
-
-
-gt_top5_communities_citations
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Proportion of citations and authors for each community
CommunityNumber of citationsNumber of authorsProportion of citations (in %)Proportion of authors (in %)Cumulative proportion of citations (in %)Cumulative proportion of authors (in %)
2160502818.763.0318.763.03
952243516.203.7934.966.83
451833205.682.1740.648.99
291321234.102.4944.7411.48
57403201.252.1745.9913.65
-
-
-
-Code -
#pareto.chart(citations_per_community$citations, ylab = "Cumulative proportion of citations", col = "steelblue", main = "Pareto chart of the citations per community")
-
-
-
Code -
#model <- lm(citations ~ inverse_burt_weighted + closeness + community + color, data = df_0_2023)
-#summary(model)
-#plot(density(df_0_2023$citations), main = "Density Plot of Citations", xlab = "Citations")
-#hist(df_0_2023$citations, main = "Distribution of Citations", xlab = "Citations")
-
-#shapiro.test(residuals(model))
-
-#plot(model, which = 1)
-
-#stargazer::stargazer(model, type = "text")
-
-#library(MASS)
-
-#model_negbin <- glm.nb(citations ~ inverse_burt_weighted + closeness + community + color, data = df_0_2023)
-
-#summary(model_negbin)
-#stargazer::stargazer(model_negbin, type = "text")
+
#pareto.chart(citations_per_community$citations, ylab = "Cumulative proportion of citations", col = "steelblue", main = "Pareto chart of the citations per community")
@@ -3270,1383 +2752,1420 @@