Skip to content

Commit

Permalink
stable map settlement-hromada-raion-oblast
Browse files Browse the repository at this point in the history
  • Loading branch information
andkov committed Aug 9, 2022
1 parent b70f73d commit a5056a6
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions manipulation/ellis-ua-admin.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ ds_settlement <-
ds_settlement


#+ combine ---------------------------------------------------------------------
ds_map_hromada <-
#1
ds_hromada %>%
Expand Down Expand Up @@ -142,16 +143,13 @@ ds_map_settlement <-
ds_map_settlement


# demonstrate that ds_map_hromada can be derived from ds_map_settlement
ds_map_hromada2 <-
ds_map_settlement %>%
# select(-c("settlement_code","settlement_name", "settlement_type"))
select(!starts_with("settlement_")) %>%
# View()
distinct()


identical(ds_map_hromada, ds_map_hromada2)
# demonstrate that ds_map_hromada can be devided from ds_map_settlement
identical(
ds_map_hromada
,ds_map_settlement %>%
select(!starts_with("settlement_")) %>%
distinct()
)
# Therefore we will use ds_map_settlement as the primary file

#+ graph-1 ---------------------------------------------------------------------
Expand All @@ -173,9 +171,7 @@ ds_map_settlement %>%
# ds_map_hromada <-
# ds_map %>%
# select(!starts_with("settlement")) %>%
# filter(!is.na(hromada_name)) %>%
# distinct()
#
# filter(!is.na(hromada_name))
# ds_map_hromada
#+ results="asis", echo=F ------------------------------------------------------
cat("\n# A. Session Information{#session-info}")
Expand Down

0 comments on commit a5056a6

Please sign in to comment.