generated from vimc/vimc.rpkg.template
-
Notifications
You must be signed in to change notification settings - Fork 0
Separate plotting code from data prep #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 16 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
7176d82
Separate plotting code from data prep
pratikunterwegs 23a1703
MInor fixes to burden diagnostics
pratikunterwegs e9b6838
Edits to plotting prep fns
pratikunterwegs a90723b
Edits to plotting fns
pratikunterwegs cc69283
Add constants
pratikunterwegs 0e2ccaf
Add scenario colm to burden example
pratikunterwegs caf2bf8
Update docs and data desc
pratikunterwegs fd17892
Initial tests for plotting prep and plots
pratikunterwegs 1c10efb
Update pkg infra
pratikunterwegs e13e0fa
Update fn ops and docs
pratikunterwegs 0b70dfe
Update tests for fns
pratikunterwegs c9d1ab0
Add vignette showing plotting
pratikunterwegs ff4017a
Update wordlist
pratikunterwegs 5be3808
Add snapshot for global burden plot
pratikunterwegs 71aadc1
Add extra burden outcomes
pratikunterwegs f506502
Remove global state checker
pratikunterwegs dd70521
Remove provisional fns
pratikunterwegs e911b86
Minor fixes
pratikunterwegs e7e767c
Add more exampled data
pratikunterwegs 9573595
Add plotting fns to vignette
pratikunterwegs 4cb5f9d
Increase test coverage
pratikunterwegs a7066f8
Correct filename
pratikunterwegs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,7 +1,7 @@ | ||
| Package: vimcheck | ||
| Title: Diagnostics for Vaccine Impact Modelling Consortium Burden and | ||
| Impact Estimates | ||
| Version: 0.0.1 | ||
| Version: 0.0.3 | ||
| Authors@R: c( | ||
| person("Pratik", "Gupte", , "[email protected]", role = c("aut", "cre"), | ||
| comment = c(ORCID = "0000-0001-5294-7819")), | ||
|
|
@@ -29,15 +29,16 @@ Imports: | |
| ggplot2, | ||
| glue, | ||
| readr, | ||
| reshape2, | ||
| rlang, | ||
| scales, | ||
| tidyr | ||
| Suggests: | ||
| knitr, | ||
| rmarkdown, | ||
| spelling, | ||
| testthat (>= 3.0.0), | ||
| tibble, | ||
| vdiffr, | ||
| withr | ||
| VignetteBuilder: | ||
| knitr | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -21,3 +21,28 @@ scenario_data_colnames <- c( | |
| "scenario", | ||
| "scenario_description" | ||
| ) | ||
|
|
||
| #' @name constants | ||
| burden_outcome_names <- c( | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we also have deaths_cwyx, cases_cwyx, dalys_cwyx, yll_cwyx, rubella_deaths_congenital and rubella_cases_congenital. |
||
| "cases", | ||
| "deaths", | ||
| "dalys", | ||
| "yll", | ||
| "deaths_cwyx", | ||
| "cases_cwyx", | ||
| "dalys_cwyx", | ||
| "yll_cwyx", | ||
| "rubella_deaths_congenital", | ||
| "rubella_cases_congenital" | ||
| ) | ||
|
|
||
| #' @name constants | ||
| colnames_plot_demog_compare <- c( | ||
| "variable", | ||
| "scenario", | ||
| "year", | ||
| "age", | ||
| "country", | ||
| "value", | ||
| "value_millions" | ||
| ) | ||
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment about scenario/scenario_type.