From 7479a0e3a352823395bd8124e3eb17726077564f Mon Sep 17 00:00:00 2001 From: JAMES Date: Thu, 30 Jan 2025 12:21:51 +0000 Subject: [PATCH 1/2] for vacancies time chart comment divide the number of pieces of data by 12 since that data is in months --- server.R | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server.R b/server.R index 4cc53a2..46a965c 100644 --- a/server.R +++ b/server.R @@ -1347,7 +1347,11 @@ server <- function(input, output, session) { } else { paste0( " in the last ", - nrow(currentArea) - 1, # count number of years of change + if (input$splashMetric == "vacancies") { + round(((nrow(currentArea) - 1) / 12)) + } else { + nrow(currentArea) - 1 + }, # count number of years of change " years." ) } From 980b824b3fc031afa3fe1c5d282247a8f6a227b7 Mon Sep 17 00:00:00 2001 From: JAMES Date: Thu, 30 Jan 2025 14:42:42 +0000 Subject: [PATCH 2/2] Update publish date --- ui.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.R b/ui.R index e8ce964..2aab588 100644 --- a/ui.R +++ b/ui.R @@ -521,7 +521,7 @@ width: 100%; div( class = "panel-body", h2("Latest update"), - p("25 Jan 2025 (1.4.8)"), + p("30 Jan 2025 (1.4.8)"), tags$ul( tags$li("Updated business demography to latest data."), tags$li("Updated further education enrolments and achievements to latest data."),