Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
agricolamz committed Mar 28, 2024
1 parent 14d7640 commit 01c0715
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Binary file added data/database.xlsx
Binary file not shown.
3 changes: 3 additions & 0 deletions scripts/cleaning_data_for_database.R
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,6 @@ read_csv("data/database.csv") |>
feature_lexeme = str_replace_all(feature_lexeme, "'", "")) |>
write_csv("data/database.csv", na = "")

read_csv("data/database.csv") |>
writexl::write_xlsx("data/database.xlsx")

2 changes: 1 addition & 1 deletion scripts/visualize.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ combn(unique(df$settlement), 2) |>
villages

map_dfr(1:nrow(villages), function(i){
village_pair <- unlist(villages[1,])
village_pair <- unlist(villages[i,])

df |>
filter(!(value %in% c("NO DATA", "OTHER")),
Expand Down

0 comments on commit 01c0715

Please sign in to comment.