Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #9 from CityofEdmonton/remove-index-filter
Browse files Browse the repository at this point in the history
remove coe_td filter on indices
  • Loading branch information
reisner authored Nov 4, 2022
2 parents 7059c59 + aa5b383 commit c054a15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dashboard_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ index_to_alias_mapping <- function(es, alias_names) {
mapping = elastic::aliases_get(es, index = alias_names)

mapping_df = tibble::enframe(mapping, name = "index_name") %>%
tidyr::unnest_wider(value) %>%
filter(str_detect(index_name, "coe_td_"))
tidyr::unnest_wider(value)

if (!all(is.na(mapping_df$aliases))) {
mapping_df = mapping_df %>%
Expand Down

0 comments on commit c054a15

Please sign in to comment.