From 99d5b3d6b0871189a803d086dd802fd8e83a77d7 Mon Sep 17 00:00:00 2001 From: Agne Larsson Date: Mon, 10 Nov 2025 09:20:10 +0100 Subject: [PATCH 1/4] Fix OA notes + test of plotly font --- inst/extdata/abm.Rmd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inst/extdata/abm.Rmd b/inst/extdata/abm.Rmd index 6facf86d..4b3b79aa 100644 --- a/inst/extdata/abm.Rmd +++ b/inst/extdata/abm.Rmd @@ -350,6 +350,7 @@ if (nrow(df_diva) > 0) { "Publication year: %{x}
", "Publication volume, frac: %{text}
")) |> layout( + font = list(family = "Figtree"), autosize = TRUE, showlegend = TRUE, margin = list(l = 30, t = 40, r = 30), @@ -944,7 +945,7 @@ Row ### **Notes** [ more...](`r STATIC`/ABM_guide.html#open-access){target="_blank" style="position:relative;float:right;"} -The Open Access type of the publications was fetched from the [Unpaywall REST API](https://unpaywall.org/products/api). The method to determine the OA type is presented [here](https://support.unpaywall.org/support/solutions/articles/44001777288-what-do-the-types-of-oa-status-green-gold-hybrid-and-bronze-mean-). +The Open Access type of the publications was fetched from [OpenAlex](https://openalex.org). The method to determine the OA type is presented on [OpenAlex support pages](https://help.openalex.org/hc/en-us/articles/24347035046295-Open-Access-OA). However, note that we count the bronze category as Not OA, since there is no identifyable license. In summary, the different OA types can be described as follows: @@ -956,7 +957,7 @@ In summary, the different OA types can be described as follows: - *Green:* The full text has been found in an institutional repository, such as DiVA. -**N.B.**: This table is based on peer-reviewed publications for which Unpaywall could determine the OA type (necessary condition: have a DOI number). Unpaywall's method is empirical and does not strictly equate to copyright license. As a consequence, the OA status of a given publication may vary with time --- for example turning from *"Not OA"* to *"Green"* when a full text is added to DiVA. +**N.B.**: This table is based on peer-reviewed publications for which OpenAlex could determine the OA type (necessary condition: have a DOI number). OpenAlex's method is empirical and does not strictly equate to copyright license. As a consequence, the OA status of a given publication may vary with time --- for example turning from *"Not OA"* to *"Green"* when a full text is added to DiVA. Scopus From 11886aa3b725b5d8c6a463b50f4df08ecd4c2b56 Mon Sep 17 00:00:00 2001 From: fileunderwater Date: Mon, 10 Nov 2025 13:15:19 +0100 Subject: [PATCH 2/4] typo on fontname? --- R/ui-elements.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ui-elements.R b/R/ui-elements.R index 89668430..f8976b2c 100644 --- a/R/ui-elements.R +++ b/R/ui-elements.R @@ -1710,5 +1710,5 @@ abm_plotlyfy <- function(graphobj, tooltip, optionsbar = FALSE, showlegend = TRU graphobj |> ggplotly(tooltip = tooltip) |> config(displayModeBar = optionsbar) |> - layout(autosize = TRUE, showlegend = showlegend, font = list(family = "figtree")) + layout(autosize = TRUE, showlegend = showlegend, font = list(family = "Figtree")) } From 78ff1d92374a02c9002eb66b0abf58e1e0a5252c Mon Sep 17 00:00:00 2001 From: fileunderwater Date: Wed, 12 Nov 2025 13:45:26 +0100 Subject: [PATCH 3/4] Fix copub error for WoS-data --- inst/extdata/abm.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/extdata/abm.Rmd b/inst/extdata/abm.Rmd index ed550a1a..032e77ab 100644 --- a/inst/extdata/abm.Rmd +++ b/inst/extdata/abm.Rmd @@ -750,7 +750,7 @@ Row {.tabset data-height=6000} ```{r, fig.width=6, fig.height=5, out.width='95%'} if(df_copub %>% filter(!is.na(P_full)) %>% nrow() > 0) { - (abm_graph_scop_copub(df_scop_copub) + + (abm_graph_copub(df_copub) + theme(axis.title.x = element_blank())) |> abm_plotlyfy(tooltip = c("y","x")) |> style(hovertemplate = paste0("%{data.legendgroup}
", From e0d964aefaca9c270528731e0068cebdc3cd7065 Mon Sep 17 00:00:00 2001 From: fileunderwater Date: Fri, 14 Nov 2025 14:53:20 +0100 Subject: [PATCH 4/4] font fix --- inst/extdata/abm.Rmd | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/inst/extdata/abm.Rmd b/inst/extdata/abm.Rmd index 324247c8..64d81ffe 100644 --- a/inst/extdata/abm.Rmd +++ b/inst/extdata/abm.Rmd @@ -15,15 +15,23 @@ params: ```{css echo=FALSE} @font-face { - font-family: 'Figtree'; + font-family: 'Figtree Light'; font-style: normal; font-weight: 400; src: url('fonts/figtree-v5-latin_latin-ext-regular.woff2') format('woff2'); } body { + font-family: 'Figtree Light'; +} +@font-face { font-family: 'Figtree'; + font-style: normal; + font-weight: 400; + src: url('fonts/figtree-v5-latin_latin-ext-regular.woff2') format('woff2'); } + + ```