A function to ensure that data from the cfm and data cohort are compatible
Source:R/pscData_match.R
pscData_match.RdThe purpose of this function is to run a series of checks to ensure that the data included in the data cohort is comparable to the counter-factual model. This matches the data classes and checks the levels in the DC match those used in the CFM. This acts as a sub-function to the pscData.R function.