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.
Revert "Refresh data 2023 2024 (#86)"
This reverts commit 441c430.
- Loading branch information
1 parent
441c430
commit 3de30c9
Showing
23 changed files
with
210 additions
and
750 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,20 +1,13 @@ | ||
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") | ||
|
||
# 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() | ||
keep_vars = c(ls(), 'keep_vars', 'get_metrics') | ||
|
||
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.