├── .Rbuildignore ├── .github ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── SUPPORT.md └── workflows │ ├── R-CMD-check.yaml │ ├── lint.yaml │ ├── pkgdown.yaml │ └── render-readme.yaml ├── .gitignore ├── .lintr ├── DESCRIPTION ├── LICENSE ├── LICENSE.md ├── NAMESPACE ├── NEWS.md ├── R ├── af_palette.R ├── afcharts-package.R ├── colour_table.R ├── data.R ├── scale_colour_continuous_af.R ├── scale_colour_discrete_af.R ├── scale_fill_continuous_af.R ├── scale_fill_discrete_af.R ├── theme_af.R ├── use_afcharts.R └── utils.R ├── README.Rmd ├── README.md ├── _pkgdown.yml ├── afcharts.Rproj ├── cran-comments.md ├── data-raw └── af_colours.R ├── data ├── af_colour_palettes.rda └── af_colour_values.rda ├── man ├── af_colour_palettes.Rd ├── af_colour_values.Rd ├── afcharts-package.Rd ├── figures │ ├── README-ex1-1.svg │ ├── README-ex2-1.svg │ ├── README-ex3-1.svg │ ├── README-unnamed-chunk-2-1.svg │ ├── README-unnamed-chunk-3-1.svg │ ├── README-unnamed-chunk-4-1.svg │ └── logo.svg ├── mm_to_inch.Rd ├── save_govuk.Rd ├── scale_colour_continuous_af.Rd ├── scale_colour_discrete_af.Rd ├── scale_fill_continuous_af.Rd ├── scale_fill_discrete_af.Rd ├── theme_af.Rd └── use_afcharts.Rd ├── pkgdown ├── extra.css └── favicon │ ├── apple-touch-icon-120x120.png │ ├── apple-touch-icon-152x152.png │ ├── apple-touch-icon-180x180.png │ ├── apple-touch-icon-60x60.png │ ├── apple-touch-icon-76x76.png │ ├── apple-touch-icon.png │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ └── favicon.ico ├── revdep ├── .gitignore ├── README.md ├── cran.md ├── failures.md └── problems.md ├── tests ├── testthat.R └── testthat │ ├── _snaps │ └── chart-output │ │ ├── scale-colour-continuous-af.svg │ │ ├── scale-colour-discrete-af.svg │ │ ├── scale-fill-continuous-af.svg │ │ ├── scale-fill-discrete-af.svg │ │ ├── theme-af-non-default.svg │ │ └── theme-af.svg │ ├── helper.R │ ├── test-af_palette.R │ ├── test-chart-output.R │ ├── test-colour_table.R │ └── test-utils.R └── vignettes ├── .gitignore ├── accessibility.Rmd ├── colours.Rmd ├── cookbook.Rmd ├── cookbook ├── _acknowledgments.Rmd ├── _annotations.Rmd ├── _chart-types.Rmd ├── _colour-palettes.Rmd └── _customisations.Rmd └── saving.Rmd /.Rbuildignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/.Rbuildignore -------------------------------------------------------------------------------- /.github/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/.github/SUPPORT.md -------------------------------------------------------------------------------- /.github/workflows/R-CMD-check.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/.github/workflows/R-CMD-check.yaml -------------------------------------------------------------------------------- /.github/workflows/lint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/.github/workflows/lint.yaml -------------------------------------------------------------------------------- /.github/workflows/pkgdown.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/.github/workflows/pkgdown.yaml -------------------------------------------------------------------------------- /.github/workflows/render-readme.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/.github/workflows/render-readme.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/.gitignore -------------------------------------------------------------------------------- /.lintr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/.lintr -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/DESCRIPTION -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | YEAR: 2024 2 | COPYRIGHT HOLDER: Crown Copyright 3 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/LICENSE.md -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/NAMESPACE -------------------------------------------------------------------------------- /NEWS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/NEWS.md -------------------------------------------------------------------------------- /R/af_palette.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/R/af_palette.R -------------------------------------------------------------------------------- /R/afcharts-package.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/R/afcharts-package.R -------------------------------------------------------------------------------- /R/colour_table.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/R/colour_table.R -------------------------------------------------------------------------------- /R/data.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/R/data.R -------------------------------------------------------------------------------- /R/scale_colour_continuous_af.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/R/scale_colour_continuous_af.R -------------------------------------------------------------------------------- /R/scale_colour_discrete_af.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/R/scale_colour_discrete_af.R -------------------------------------------------------------------------------- /R/scale_fill_continuous_af.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/R/scale_fill_continuous_af.R -------------------------------------------------------------------------------- /R/scale_fill_discrete_af.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/R/scale_fill_discrete_af.R -------------------------------------------------------------------------------- /R/theme_af.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/R/theme_af.R -------------------------------------------------------------------------------- /R/use_afcharts.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/R/use_afcharts.R -------------------------------------------------------------------------------- /R/utils.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/R/utils.R -------------------------------------------------------------------------------- /README.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/README.Rmd -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/README.md -------------------------------------------------------------------------------- /_pkgdown.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/_pkgdown.yml -------------------------------------------------------------------------------- /afcharts.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/afcharts.Rproj -------------------------------------------------------------------------------- /cran-comments.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/cran-comments.md -------------------------------------------------------------------------------- /data-raw/af_colours.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/data-raw/af_colours.R -------------------------------------------------------------------------------- /data/af_colour_palettes.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/data/af_colour_palettes.rda -------------------------------------------------------------------------------- /data/af_colour_values.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/data/af_colour_values.rda -------------------------------------------------------------------------------- /man/af_colour_palettes.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/af_colour_palettes.Rd -------------------------------------------------------------------------------- /man/af_colour_values.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/af_colour_values.Rd -------------------------------------------------------------------------------- /man/afcharts-package.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/afcharts-package.Rd -------------------------------------------------------------------------------- /man/figures/README-ex1-1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/figures/README-ex1-1.svg -------------------------------------------------------------------------------- /man/figures/README-ex2-1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/figures/README-ex2-1.svg -------------------------------------------------------------------------------- /man/figures/README-ex3-1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/figures/README-ex3-1.svg -------------------------------------------------------------------------------- /man/figures/README-unnamed-chunk-2-1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/figures/README-unnamed-chunk-2-1.svg -------------------------------------------------------------------------------- /man/figures/README-unnamed-chunk-3-1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/figures/README-unnamed-chunk-3-1.svg -------------------------------------------------------------------------------- /man/figures/README-unnamed-chunk-4-1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/figures/README-unnamed-chunk-4-1.svg -------------------------------------------------------------------------------- /man/figures/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/figures/logo.svg -------------------------------------------------------------------------------- /man/mm_to_inch.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/mm_to_inch.Rd -------------------------------------------------------------------------------- /man/save_govuk.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/save_govuk.Rd -------------------------------------------------------------------------------- /man/scale_colour_continuous_af.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/scale_colour_continuous_af.Rd -------------------------------------------------------------------------------- /man/scale_colour_discrete_af.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/scale_colour_discrete_af.Rd -------------------------------------------------------------------------------- /man/scale_fill_continuous_af.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/scale_fill_continuous_af.Rd -------------------------------------------------------------------------------- /man/scale_fill_discrete_af.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/scale_fill_discrete_af.Rd -------------------------------------------------------------------------------- /man/theme_af.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/theme_af.Rd -------------------------------------------------------------------------------- /man/use_afcharts.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/man/use_afcharts.Rd -------------------------------------------------------------------------------- /pkgdown/extra.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/pkgdown/extra.css -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/pkgdown/favicon/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/pkgdown/favicon/apple-touch-icon-152x152.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/pkgdown/favicon/apple-touch-icon-180x180.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/pkgdown/favicon/apple-touch-icon-60x60.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/pkgdown/favicon/apple-touch-icon-76x76.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/pkgdown/favicon/apple-touch-icon.png -------------------------------------------------------------------------------- /pkgdown/favicon/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/pkgdown/favicon/favicon-16x16.png -------------------------------------------------------------------------------- /pkgdown/favicon/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/pkgdown/favicon/favicon-32x32.png -------------------------------------------------------------------------------- /pkgdown/favicon/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/pkgdown/favicon/favicon.ico -------------------------------------------------------------------------------- /revdep/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/revdep/.gitignore -------------------------------------------------------------------------------- /revdep/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/revdep/README.md -------------------------------------------------------------------------------- /revdep/cran.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/revdep/cran.md -------------------------------------------------------------------------------- /revdep/failures.md: -------------------------------------------------------------------------------- 1 | *Wow, no problems at all. :)* -------------------------------------------------------------------------------- /revdep/problems.md: -------------------------------------------------------------------------------- 1 | *Wow, no problems at all. :)* -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/tests/testthat.R -------------------------------------------------------------------------------- /tests/testthat/_snaps/chart-output/scale-colour-continuous-af.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/tests/testthat/_snaps/chart-output/scale-colour-continuous-af.svg -------------------------------------------------------------------------------- /tests/testthat/_snaps/chart-output/scale-colour-discrete-af.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/tests/testthat/_snaps/chart-output/scale-colour-discrete-af.svg -------------------------------------------------------------------------------- /tests/testthat/_snaps/chart-output/scale-fill-continuous-af.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/tests/testthat/_snaps/chart-output/scale-fill-continuous-af.svg -------------------------------------------------------------------------------- /tests/testthat/_snaps/chart-output/scale-fill-discrete-af.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/tests/testthat/_snaps/chart-output/scale-fill-discrete-af.svg -------------------------------------------------------------------------------- /tests/testthat/_snaps/chart-output/theme-af-non-default.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/tests/testthat/_snaps/chart-output/theme-af-non-default.svg -------------------------------------------------------------------------------- /tests/testthat/_snaps/chart-output/theme-af.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/tests/testthat/_snaps/chart-output/theme-af.svg -------------------------------------------------------------------------------- /tests/testthat/helper.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/tests/testthat/helper.R -------------------------------------------------------------------------------- /tests/testthat/test-af_palette.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/tests/testthat/test-af_palette.R -------------------------------------------------------------------------------- /tests/testthat/test-chart-output.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/tests/testthat/test-chart-output.R -------------------------------------------------------------------------------- /tests/testthat/test-colour_table.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/tests/testthat/test-colour_table.R -------------------------------------------------------------------------------- /tests/testthat/test-utils.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/tests/testthat/test-utils.R -------------------------------------------------------------------------------- /vignettes/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | *.R 3 | -------------------------------------------------------------------------------- /vignettes/accessibility.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/vignettes/accessibility.Rmd -------------------------------------------------------------------------------- /vignettes/colours.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/vignettes/colours.Rmd -------------------------------------------------------------------------------- /vignettes/cookbook.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/vignettes/cookbook.Rmd -------------------------------------------------------------------------------- /vignettes/cookbook/_acknowledgments.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/vignettes/cookbook/_acknowledgments.Rmd -------------------------------------------------------------------------------- /vignettes/cookbook/_annotations.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/vignettes/cookbook/_annotations.Rmd -------------------------------------------------------------------------------- /vignettes/cookbook/_chart-types.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/vignettes/cookbook/_chart-types.Rmd -------------------------------------------------------------------------------- /vignettes/cookbook/_colour-palettes.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/vignettes/cookbook/_colour-palettes.Rmd -------------------------------------------------------------------------------- /vignettes/cookbook/_customisations.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/vignettes/cookbook/_customisations.Rmd -------------------------------------------------------------------------------- /vignettes/saving.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/best-practice-and-impact/afcharts/HEAD/vignettes/saving.Rmd --------------------------------------------------------------------------------