Datum des CBS-Abzugs: 20242025-1207-01
Dieser Bericht wurde automatisiert mit R Markdown erstellt. Der pica-rs-Code für die Abfrage aller Tc-Sätze und der R-Code für die Berechnung der Ausgabetabelle können durch Aufklappen der Codeblöcke eingesehen werden.
...
Codeblock | ||||
---|---|---|---|---|
| ||||
# Crosskonkordanzen einlesen ck <- read_csv('Tc.csv', col_types = 'cccc') # Wertebereiche gemäß Wiki-Seiten definieren thesauri <- read_csv('Thesauri.csv', col_types = 'cc') relationen <- read_csv('Relationen.csv', col_types = 'cc') # Crosskonkordanzen filtern und zählen rslt <- ck %>% filter(Thesaurus %in% thesauri$Code & Relation %in% relationen$Code) %>% mutate( Thesaurus = factor(Thesaurus, levels = thesauri$Code, labels = thesauri$Thesaurus), Relation = factor(Relation, levels = relationen$Code, labels = relationen$Relation) ) %>% # GESAMT als Summe über alle Relationen rbind((.) %>% mutate(Relation = factor('GESAMT'))) %>% # auch alle leeren Levels jeweils mit Anzahl 0 anzeigen group_by(Thesaurus, Relation, .drop = FALSE) %>% # jede Kombination (Thesaurus, Relation) je IDN nur einmal zählen summarise(n = n_distinct(IDN)) %>% pivot_wider(id_cols = Relation, names_from = Thesaurus, values_from = n) # Formatierte Ausgabetabelle rslt %>% mutate_at(.vars = setdiff(colnames(.), 'Relation'), .funs = ~ formatC( ., format = 'd', big.mark = '.', decimal.mark = ',')) %>% knitr::kable(align = c('l', rep('r', ncol(.)-1))) |
Relation | AGROVOC | LCSH | RAMEAU | MeSH | STW | TheSoz | EMBNE | NSogg | T-PRO | ET |
---|---|---|---|---|---|---|---|---|---|---|
Äquivalenz (ftaa) | 90 | |||||||||
48. | ||||||||||
726 | ||||||||||
47. | ||||||||||
262 | ||||||||||
56 | 0 | 102 | 13.040 | 8. | ||||||
617 | 2 | 669 | ||||||||
exakte Äquivalenz (ftae) | 5.490 | |||||||||
1.225 | ||||||||||
799 | 6. | |||||||||
404 | 5. | |||||||||
835 | 7. | |||||||||
335 | 17 | 22 | 36 | 3.512 | ||||||
inexakte Äquivalenz (ftai) | 5 | |||||||||
717 | ||||||||||
745 | ||||||||||
392 | 0 | |||||||||
198 | 550 | 4 | 29 | 2.365 | ||||||
ODER-Äquivalenz (ftao) | 4 | |||||||||
142 | ||||||||||
66 | ||||||||||
65 | 0 | 0 | 6 | 0 | 8 | 1.411 | ||||
UND-Äquivalenz (ftau) | 1.293 | 2. | ||||||||
315 | 4. | |||||||||
666 | ||||||||||
118 | ||||||||||
415 | 1.616 | 1 | 0 | 0 | 0 | |||||
Oberbegriff-Relation (ftob) | 2.127 | 0 | 0 | 55 | 7. | |||||
927 | 2.934 | 0 | 0 | 0 | 0 | |||||
Unterbegriff-Relation (ftub) | 183 | 0 | 0 | 12 | ||||||
382 | 393 | 0 | 0 | 0 | 0 | |||||
Verwandter-Begriff-Relation (ftvb) | 769 | 0 | 0 | 11 | 3. | |||||
772 | 929 | 0 | 0 | 0 | 0 | |||||
Null-Relation (ftnu) | 168 | |||||||||
19. | ||||||||||
088 | 20. | |||||||||
941 | 0 | |||||||||
503 | 897 | 2 | 1 | 0 | 0 | |||||
GESAMT | 10.129 | |||||||||
72. | ||||||||||
213 | ||||||||||
74. | ||||||||||
479 | ||||||||||
7. | ||||||||||
113 | 18. | |||||||||
834 | 14.404 | 13.616 | 8. | |||||||
644 | 75 | 7.957 |