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 #19 from CityofEdmonton/fix-configs-index
Browse files Browse the repository at this point in the history
Fix index issue
  • Loading branch information
reisner authored Jul 6, 2023
2 parents e498b14 + 19cbc9b commit db68d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ index_to_alias_mapping <- function(es, alias_names) {

if (!all(is.na(mapping_df$aliases))) {
mapping_df = mapping_df %>%
tidyr::unnest_longer(aliases, indices_to = "alias_name") %>%
tidyr::unnest_longer(aliases, indices_to = "alias_name", keep_empty = TRUE) %>%
select(-aliases) %>%
mutate(alias_name = dplyr::coalesce(alias_name, index_name)) # use index name if alias name not present
} else {
Expand Down

0 comments on commit db68d9c

Please sign in to comment.