steno-aarhus / osdc

Open-Source Diabetes Classifier: an R package to classify diabetes status in Danish registers
https://steno-aarhus.github.io/osdc/
Other
1 stars 1 forks source link

feat: :sparkles: add `include_gld_purchases()` #138

Open lwjohnst86 opened 2 weeks ago

lwjohnst86 commented 2 weeks ago

Closes #92.

Adding the include_gld_purchases() function. For adding the logic to the algorithm dataframe, I used the symbol =~ to indicate it is a regex, since that's how it was done in Perl and it's the only other symbol I could find to represent regexes.

Several files were updated, but mainly because I re-ran the targets pipeline :relaxed:

Please, focus mainly on the tests and the function itself :partying_face:

lwjohnst86 commented 1 week ago

/document