I have been using the CohortMethod package to do population-level estimation. One of the step is to create covariates settings using the FeatureExtraction package. I want to know what type of covariates are included in the createDefaultCovariateSettings() function. The function including the arguments looks like below. Where can i find more information about this function or lower level functions it calls? For example, i want to know whether it uses long/short/medium term, drug era/drug group, measurement/measurement range/measurement value, and etc.
If you really want to dive all the way into the bowels of FeatureExtraction, you can look at the CSV file specifying the analyses, and look at those rows with TRUE in the ‘isDefault’ column. This CSV file further references the template SQL files in the sql folder. But be warned, because the SQL is very hard to read because it serves many use cases (aggregated or not, temporal or not).