R tools for processing and extracting clinical information from downloaded CPRD cohorts