This repository contains the scripts for identifying relevant HVLC activity within the Admitted Patient Care (APCE) dataset using the criteria specified by GIRFT.
The repository can be cloned locally and the extract.sql script can amended and ran on NCDR to return activity data for providers and time period of interest. This data currently then needs to be saved within the data folder as extract.xlsx to then be loaded and processed. The specialty scripts within r_scripts can be used to either filter the activity data for HVLC activity or to create a field to flag the HVLC activity.
At present the structure of the repository is:
├───data
├───images
└───src
├───config
├───load
├───outputs
├───processing
├───r_scripts
└───sql_scripts
└───requirements
Where the extract of APCE data will be saved for loading and processing.
Images such as TU logos and branding to add to outputs.
All code is stored in src. This is subdivided into three modules:
config: Files for configuring the output such as thetheme.cssfor the html output.load: Contains script for loading APCE extractoutputs: Contains.rmdscript for creating outputprocessing: Files for extracting data from NCDR and creating the functions to filter or flag HVLC activity.requirements: Requirements file for building the output html such as thepackages.Rscript.
This repository has been created and developed by:
