Created
September 10, 2026 11:57
-
-
Save BERENZ/b9e7ea84f99dbd28af27e686b559a3b3 to your computer and use it in GitHub Desktop.
Analiza danych z ewaluacji
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(data.table) | |
| library(readxl) | |
| library(stringr) | |
| publ <- read_excel("Załącznik_nr_2_-_publikacje_i_prawa_ochronne_w_ewaluacji_2026-09-07.xlsx") |> setDT() | |
| publ[`Typ publikacji` == "artykuł" & | |
| Dyscyplina == "ekonomia i finanse", | |
| .(N=uniqueN(`Tytuł osiągnięcia`)), | |
| .(czasopismo=str_to_lower(str_trim(`Tytuł czasopisma`)))][order(-N)] | |
| publ[`Typ publikacji` == "artykuł" & | |
| Dyscyplina == "ekonomia i finanse", | |
| .(N=uniqueN(`Tytuł osiągnięcia`)), | |
| .(czasopismo=str_to_lower(str_trim(`Tytuł czasopisma`)), | |
| art = str_to_lower(str_trim(`Tytuł osiągnięcia`)), | |
| podmiot=Podmiot)] -> podm_publ | |
| podm_publ[, | |
| .(odsetek_mdpi_inne=mean(czasopismo %in% | |
| c("sustainability", "energies", "european research studies journal", | |
| "agriculture (switzerland)")), | |
| liczba_art_ogolem=.N), | |
| podmiot ][order(-odsetek_mdpi_inne)] |> View() | |
| publ[`Typ publikacji` == "artykuł" & | |
| Dyscyplina == "nauki o zarządzaniu i jakości", | |
| .(N=uniqueN(`Tytuł osiągnięcia`)), | |
| .(czasopismo=str_to_lower(str_trim(`Tytuł czasopisma`)))][order(-N)] |> View() | |
| publ[`Typ publikacji` == "artykuł" & | |
| Dyscyplina == "nauki o zarządzaniu i jakości", | |
| .(N=uniqueN(`Tytuł osiągnięcia`)), | |
| .(czasopismo=str_to_lower(str_trim(`Tytuł czasopisma`)), | |
| art = str_to_lower(str_trim(`Tytuł osiągnięcia`)), | |
| podmiot=Podmiot)] -> podm_publ_zarz | |
| podm_publ_zarz[, | |
| .(odsetek_mdpi_inne=mean(czasopismo %in% | |
| c("sustainability", "energies", "european research studies journal", | |
| "agriculture (switzerland)")), | |
| liczba_art_ogolem=.N), | |
| podmiot ][order(-odsetek_mdpi_inne)] |> View() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment