Skip to content

Commit 73ce18a

Browse files
committed
updated
1 parent 8d962ae commit 73ce18a

File tree

2 files changed

+2025
-1
lines changed

2 files changed

+2025
-1
lines changed

code/R/gender.Rmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,14 @@ for (i in list_gnd)
7171
# Checking the field_codes and sub_field_codes regarding GND and gender
7272
```{r}
7373
all_gnd_vd17$GND<-gsub("gnd/","",as.character(all_gnd_vd17$GND))
74-
gnd_authority <- read_tsv(here("data/processed/all_gnd.tsv.gz"), lazy = TRUE)
74+
gnd_authority <- read_tsv(here("vd17_auth.tsv.gz"), lazy = TRUE)
7575
authority_gnd_list <- gnd_authority[gnd_authority$value %in% all_gnd_vd17$GND, , drop = FALSE] %>%
7676
distinct(value)
7777
gnd_authority_filter <- gnd_authority %>%
7878
filter(subfield_code=="a",field_code %in% c("024","375"))
7979
```
80+
81+
8082
# For some GNDs, there is not field_code "375", so gender is not specified.
8183
```{r warning=FALSE}
8284
columns= c("GND","gender")

code/R/gender.nb.html

Lines changed: 2022 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)