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

docs: :memo: add details on HbA1c inclusion criteria #132

Closed signekb closed 2 months ago

signekb commented 2 months ago

Description

Based on what has already been implemented for the HbA1c inclusion criteria, I have updated the documentation of this criteria in the function flow vignette.

I have also added the algorithm.Rda to be able to show the logic in a table. I thought it might be nice to visualise it and make it rely directly on the algorithm logic that we implement.

However:

1) I have probably added it in a very non-ideal / non-Luke-approved manner 2) I ended up writing it all in the text as well, so maybe it's not necessary to include at all?