Skip to content

Commit

Permalink
update the language page
Browse files Browse the repository at this point in the history
  • Loading branch information
agricolamz committed Jul 4, 2024
1 parent ea8294c commit 7def3f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/languages.html

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions languages.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@ map(list.files("data/orig_table", full.names = TRUE), function(file){
```{r}
read_tsv("data/tald_villages.csv") |>
filter(!is.na(village_dialect)) |>
distinct(family, lang, dialect_nt1, dialect_nt2, dialect_nt3,
distinct(family, aff, default_level, dialect_nt1, dialect_nt2, dialect_nt3,
village_dialect) |>
arrange(family, lang, dialect_nt1, dialect_nt2, dialect_nt3,
arrange(family, aff, default_level, dialect_nt1, dialect_nt2, dialect_nt3,
village_dialect) |>
mutate(id = 1:n()) |>
mutate(id = 1:n(),
aff = ifelse(aff == default_level, NA, aff)) |>
pivot_longer(names_to = "cols", values_to = "value", -id) |>
na.omit() |>
group_by(id) |>
Expand Down

0 comments on commit 7def3f9

Please sign in to comment.