From 3dcfc384836b24d5cfe4859ec7bdae1ed4f51798 Mon Sep 17 00:00:00 2001 From: Riccardo Boero <ribo@nilu.no> Date: Thu, 4 Apr 2024 09:36:12 +0200 Subject: [PATCH] debugging printouts --- src/FACT_jobs.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FACT_jobs.jl b/src/FACT_jobs.jl index 4311f43..4822223 100644 --- a/src/FACT_jobs.jl +++ b/src/FACT_jobs.jl @@ -99,6 +99,7 @@ function us_qcew(conn::MySQL.Connection, selection::Dict) result = query_connection(conn, query) # Check if the 'industry' column exists if !(:industry in names(result)) + println(result) println("No data returned for query with GeoID = $full_id and Year = $year and AND Agglvl_code = $agglvl_code.") # Initialize `result` with the expected columns but no rows result = DataFrame(industry = String[], jobs = Float64[], geo_id = String[], agg_level = Int[]) -- GitLab