Several new datasets (first_visits_country.tsv and last_action_country.tsv) generated by golden/portal/portal.R for T138107 contain bugs:
Current portal.R script worked fine when we backfilled the data. However, those dataset got mess up when they are updated one day after. One suspicion is the conflict between those data frames and function wmf::rewrite_conditional.