Skip to content

Commit

Permalink
Added muse country
Browse files Browse the repository at this point in the history
  • Loading branch information
keegansmith21 committed Jun 12, 2024
1 parent e91dd93 commit e06ae9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ countries as (
alpha2,
iso_name,
wikipedia_name,
jstor_name
jstor_name,
muse_name
FROM `{{ country_table_id }}`
),

Expand Down Expand Up @@ -51,7 +52,8 @@ month_country as (
iso_name as country_name,
iso_name as country_iso_name,
wikipedia_name as country_wikipedia_name,
jstor_name as country_jstor_name
jstor_name as country_jstor_name,
muse_name as country_muse_name
FROM months
CROSS JOIN countries
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
LEFT JOIN muse_month_country as muse_country_pilot ON month_country.ISBN13 = muse_country_pilot.ISBN13
AND month_country.month = muse_country_pilot.month
AND (month_country.country_iso_name = muse_country_pilot.country_name OR month_country.country_wikipedia_name = muse_country_pilot.country_name)
AND month_country.country_muse_name = muse_country_pilot.country_name

0 comments on commit e06ae9e

Please sign in to comment.