From 8de945d0121c9cfe6e09c37500ed6985d7de2772 Mon Sep 17 00:00:00 2001 From: Riccardo Boero <ribo@nilu.no> Date: Thu, 4 Apr 2024 09:48:36 +0200 Subject: [PATCH] Fixed check on industry column in result dataframe in jobs --- 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 4822223..e4189ea 100644 --- a/src/FACT_jobs.jl +++ b/src/FACT_jobs.jl @@ -98,7 +98,7 @@ function us_qcew(conn::MySQL.Connection, selection::Dict) # execute result = query_connection(conn, query) # Check if the 'industry' column exists - if !(:industry in names(result)) + 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 -- GitLab