I am following your main example with state = "SC". The individual components look good at first glance but I am getting an error at harmonize_variables; see below. I don't know why but you can also see the error message changes the second time I run the same command, with the DT2 incrementing to DT3, which I think is related to the duplication error.
also, btw, the first time I used this it said it could not find the function fcoalesce so I had to load the package data.table. Maybe an implicit dependency?
I am following your main example with
state = "SC"
. The individual components look good at first glance but I am getting an error atharmonize_variables
; see below. I don't know why but you can also see the error message changes the second time I run the same command, with theDT2
incrementing toDT3
, which I think is related to the duplication error.also, btw, the first time I used this it said it could not find the function
fcoalesce
so I had to load the package data.table. Maybe an implicit dependency?