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

Added check on results form EU_ LFS employment data

parent 19c7f841
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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