From 93571b74c3ea4e71ee29e23d2d756cf4f2187a5d Mon Sep 17 00:00:00 2001
From: Riccardo Boero <ribo@nilu.no>
Date: Thu, 4 Apr 2024 10:10:22 +0200
Subject: [PATCH] Added check on results form EU_ LFS employment data

---
 src/FACT_jobs.jl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/FACT_jobs.jl b/src/FACT_jobs.jl
index 54f00e9..9b3b7af 100644
--- a/src/FACT_jobs.jl
+++ b/src/FACT_jobs.jl
@@ -139,7 +139,7 @@ function eu_lfs(conn::MySQL.Connection, selection::Dict)
         # execute
         result = query_connection(conn, query)
         if !("industry" in names(result))
-            println("No data returned for query with GeoID = $full_id and Year = $year and AND Agglvl_code = $agglvl_code.")
+            println("No data returned for query with GeoID = $id and Year = $year.")
            # Initialize `result` with the expected columns but no rows
            #result = DataFrame(industry = String[], jobs = Float64[], geo_id = String[], agg_level = Int[])
         end
-- 
GitLab