Skip to content

Commit

Permalink
Merge pull request #31 from USAID-OHA-SI/dev
Browse files Browse the repository at this point in the history
fix: add in generic legend image
  • Loading branch information
tessam30 authored Oct 3, 2023
2 parents 0401310 + 2b7425c commit 8e4c32e
Show file tree
Hide file tree
Showing 20 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export(embiggen)
export(fetch_indicators)
export(format_indicator)
export(label_aggregation)
export(legend)
export(legend_q1)
export(legend_q2)
export(legend_q3)
Expand Down
9 changes: 9 additions & 0 deletions R/gt_helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@ legend_q2 <- 'https://github.com/USAID-OHA-SI/selfdestructin5/blob/main/man/figu
#' @family gt helpers
legend_q1 <- 'https://github.com/USAID-OHA-SI/selfdestructin5/blob/main/man/figures/Q1_cumulative_legend.png?raw=true'

#' Object pointing to github location of legend for Q1
#'
#' @description
#' This helper object returns the location of the new legend. Use this version
#' The object is passed to a legend_chunk f() that creates md for the legend.
#' This can then be inserted into the subtitle as an image.
#' @export
#' @family gt helpers
legend <- 'https://github.com/USAID-OHA-SI/selfdestructin5/blob/main/man/figures/legend.png?raw=true'


#' Make all text larger
Expand Down
1 change: 1 addition & 0 deletions man/authors_footnote.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/bold_rowgroup.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/caveats_footnote.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/change_footnote.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/create_pd.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/dedup_footnote.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/delta_footnote.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/extract_num_colnames.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified man/figures/legend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions man/legend.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/legend_q1.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/legend_q2.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/legend_q3.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/legend_snapshot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/past_fy.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/present_fy.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/present_qtr.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/vlc_footnote.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8e4c32e

Please sign in to comment.