Functions for importing ClinicalCodes research objects into R