Skip to content
Snippets Groups Projects
Commit 3dcfc384 authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

debugging printouts

parent ad0efca6
No related branches found
No related tags found
No related merge requests found
......@@ -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[])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment