Closed Pablo-source closed 7 months ago
Start building the pipeline to render the markdown report in a new targets pipeline. This report will use an Excel file saved in the \data folder: "Monthly-AE-Time-Series-March-2024.xls" from this file we will import Attendances Type I, Type II and Type III figures that we will use to populate the Markdown report we will render in the targets pipeline
tar_target(AE_data_input,here("data","Monthly-AE-Time-Series-March-2024.xls"),format = "file")
Included new rendering feature in the existing Targets pipeline. We can render a Markdown document in the Targets pipeline by using {tarchetypes} library. This library provide us with the tar_render() function. So by adding a new target to our pipeline, we can render the report after the pipeline has run and it has populated our Markdown report.
Once we have created the pipeline, we need to include all three plots created in the pipeline for TypeI, TypeII, and TypeIII attendances into the markdown report.
Also, create one paragraph for each Attendances type section where I populate it with figures and calculations from the dataset created as a result of running the pipeline, describing latest attendances figures for the latest complete year of data in the original ingested dataset.