Skip to content

Commit

Permalink
chore: 🚧 clean old code
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgasquez committed Mar 22, 2024
1 parent eb14b3b commit dcba743
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 128 deletions.
4 changes: 2 additions & 2 deletions dbt/models/climate.sql
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
with
energy_data as (
select year, sum(solar_electricity) as solar_electricity
from {{ source("public", "owid_energy_data") }}
from {{ source("main", "owid_energy_data") }}
where iso_code is not null and solar_electricity is not null and year >= 2014
group by year
),
co2_global_trend as (
select year, avg(trend) as co2_trend
from {{ source("public", "co2_global_trend") }}
from {{ source("main", "co2_global_trend") }}
group by year
)
select
Expand Down
Loading

0 comments on commit dcba743

Please sign in to comment.