We should go through all records, find the ones that have cooperation agreement with cern in authors.affiliations.value and remove the country. Example code:
pattern_for_cern_cooperation_agreement = re.compile(r'cooperation agreement with cern', re.IGNORECASE)
match_pattern = pattern_for_cern_cooperation_agreement.search(affiliation['value'])
if match_pattern:
affiliation.pop("country", None)
Realated to #168
We should go through all records, find the ones that have
cooperation agreement with cern
inauthors.affiliations.value
and remove the country. Example code: