Skip to content

Commit

Permalink
Fix muse country metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
keegansmith21 committed Jun 10, 2024
1 parent dedb43d commit e91dd93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ muse_month_country as (
SELECT
ISBN13,
month,
Country_name as alpha2,
Country_name as country_name,
total_item_requests
FROM
months,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- for muse collections, the alpha2 value is the full country name and needs to be matched on country_muse_name
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.alpha2 = muse_country_pilot.alpha2
AND (month_country.country_iso_name = muse_country_pilot.country_name OR month_country.country_wikipedia_name = muse_country_pilot.country_name)

0 comments on commit e91dd93

Please sign in to comment.