The start date should be 3 months prior to the Pharmacy First launch date. We will probably change this to go further back in time later.
Write function to visualise outputs from measures
We should create a new subdir and R script where we define our function for visualise the outputs (e.g., lib/functions_visualise_data.R). Follow the general structure of the opensafely/hypertension-sro repo.
Write documentation for the function, e.g., using the https://roxygen2.r-lib.org/ framework. But we could also just use simple comments for now.
Add visualisation to the R Markdown report
First, let's set up the draft report
Create a subdirectroy reports/ and add the file R Markdown file pf_report.Rmd
This issue will complete the first figure for the report, which we will iteratively continue to develop.
measures_definition_clinical_codes.py
lib/functions_visualise_data.R
). Follow the general structure of the opensafely/hypertension-sro repo.reports/
and add the file R Markdown filepf_report.Rmd
Add and action for step 3 to theproject.yaml
See the instrcution in our docs on Converting R markdown files to html