generated from nhsbsa-data-analytics/nhsbsaShinyR
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cqc funs * updated cqc api * updated cqc script finished * abp from dall_ref * edit * workflow production update * sql file additions * run_all script amendments * eda edit * cqc funs * updated cqc api * updated cqc script finished * abp from dall_ref * edit * workflow production update * sql file additions * run_all script amendments * eda edit * Update mod6 FY select and table * Remove commented old code --------- Co-authored-by: Adnan Shroufi <[email protected]>
- Loading branch information
1 parent
358ef07
commit 441c430
Showing
23 changed files
with
750 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
Sys.time() | ||
# Load library and generate base geo data | ||
library(tictoc) | ||
source("data-raw/app/data_raw_helpers.R") | ||
source("data-raw/app/geo_data.R") | ||
|
||
keep_vars = c(ls(), 'keep_vars', 'get_metrics') | ||
# Define vars to retain in workflow | ||
keep_vars = c(ls(), 'keep_vars') | ||
|
||
# Run all scripts that generate an Rda file | ||
tic(); source("data-raw/app/01_headline_figures_df.R"); toc() # 10 mins | ||
tic(); source("data-raw/app/02_patients_age_gender_df.R"); toc() | ||
tic(); source("data-raw/app/03_patients_by_imd_df.R"); toc() # 10 mins | ||
tic(); source("data-raw/app/04_metrics_by_ch_type_85_split_df.R"); toc() # 3 hours | ||
tic(); source("data-raw/app/05_metrics_age_gender_df.R"); toc() # 30 mins | ||
tic(); source("data-raw/app/06_metrics_by_geo_and_ch_flag_df.R"); toc() # 90 mins | ||
tic(); source("data-raw/app/07_ch_flag_drug_df.R"); toc() # 30 mins | ||
tic(); source("data-raw/app/08_geo_ch_flag_drug_df.R"); toc() # 90 mins | ||
Sys.time() | ||
|
||
source("data-raw/app/01_headline_figures_df.R") | ||
source("data-raw/app/02_patients_age_gender_df.R") | ||
source("data-raw/app/03_patients_by_imd_df.R") | ||
source("data-raw/app/04_metrics_by_ch_type_df.R") | ||
source("data-raw/app/05_metrics_age_gender_df.R") | ||
source("data-raw/app/06_metrics_by_geo_and_ch_flag_df.R") | ||
source("data-raw/app/07_ch_flag_drug_df.R") | ||
source("data-raw/app/08_geo_ch_flag_drug_df.R") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.