Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 1, 2022
1 parent 421ab26 commit 44944ea
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 195 deletions.
6 changes: 3 additions & 3 deletions code/common_basis.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ library(cowplot)
#<<<<<<< Updated upstream
library(ggpubr)
library(data.table)
#=======
library(ggpubr)
library(data.table)
# =======
library(ggpubr)
library(data.table)
library(stringi)
library(wordcloud)
#>>>>>>> Stashed changes
Expand Down
11 changes: 5 additions & 6 deletions code/narges/all-gnd-vd17-gender.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ pp <- function(percentage, accuracy = 0.01) {

```{r}
all_gnd_vd17 <- vd17_a %>%
filter(subfield_code=="7")%>%
select(record_number,field_code, value)%>%
mutate(GND=value)%>%
distinct(GND)%>%
collect()%>%
filter(subfield_code == "7") %>%
select(record_number, field_code, value) %>%
mutate(GND = value) %>%
distinct(GND) %>%
collect() %>%
write_csv(here("all_gnd_vd17.csv"))
```

Expand Down Expand Up @@ -64,4 +64,3 @@ r.genders=pd.DataFrame(genders, columns = ["GND","gender"])
```{r}
genders %>% write_csv(here("all_genders_vd17.csv"))
```

Loading

0 comments on commit 44944ea

Please sign in to comment.