Skip to content

Commit 06e6761

Browse files
authored
Merge pull request #4 from wvictor14/worktree-add-address-maps-link
Add Google Maps links using address instead of facility name
2 parents 4426598 + aa4b61e commit 06e6761

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dashboard.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ tbl_data <- bccc |>
116116
paste0(" (last seen ", format(last_vacancy_gr1_age12, "%Y-%m-%d"), ")"),
117117
""
118118
),
119-
maps_query = paste0(NAME, ", ", ADDRESS_1, ", ", CITY),
119+
maps_query = paste0(ADDRESS_1, ", ", CITY, ", BC"),
120120
maps_url = paste0("https://www.google.com/maps/search/", URLencode(maps_query)),
121121
popup = glue::glue(
122122
"<b>{NAME}</b>",
@@ -413,7 +413,7 @@ row_details <- function(index, bccc) {
413413
'Google Maps',
414414
htmltools::a(
415415
"View on Google Maps",
416-
href = paste0("https://www.google.com/maps/search/", URLencode(paste0(bccc$NAME, ", ", bccc$ADDRESS_1, ", ", bccc$CITY))),
416+
href = paste0("https://www.google.com/maps/search/", URLencode(paste0(bccc$ADDRESS_1, ", ", bccc$CITY, ", BC"))),
417417
target = "_blank"
418418
)
419419
),

0 commit comments

Comments
 (0)