I've been involved in COVID-19 related data gathering. Data was capured in CASTOR, but needed to be remapped to WHO standard. This meant mapping variables, remapping values (e.g. NO: 2 in the one NO: 0 in the other), adding missing units, substituting keys based on a key table, and some other stuff. While the script created for CASTOR -> REDCAP is quite complicated, I've made a simpler version for
Remapping Datasets in Python that is available on Github.