Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/BillPetti/ggallup
This package loads custom ggplot themes and palettes that make creating graphs in R consistent with Gallup brand standards easier
https://github.com/BillPetti/ggallup
Last synced: 3 months ago
JSON representation
This package loads custom ggplot themes and palettes that make creating graphs in R consistent with Gallup brand standards easier
- Host: GitHub
- URL: https://github.com/BillPetti/ggallup
- Owner: BillPetti
- Created: 2016-12-19T21:17:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-01T02:19:37.000Z (over 7 years ago)
- Last Synced: 2024-05-21T02:55:32.123Z (6 months ago)
- Language: R
- Size: 506 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ggallup
This package loads custom ggplot themes and palettes that make creating graphs in R consistent with Gallup brand standards easier.It includes three objects and two functions that are loaded when the package is loaded:
* `ggallup`: A function to format `ggplot2` objects
* `ggallup_md`: A function to format `ggplot2` objects for use in `rmarkdown` documents
* `theme_gallup`: A custom ggplot2 theme
* `theme_gallup_md`: The same custom theme as `theme_gallup`, but it has been tweaked to work better when producing `rmarkdown` documents
* `gallup_palette`: A custom palette that has the current Gallup brand colors includedThe package can be loaded using the `devtools` package:
```
require(devtools)
install_github("BillPetti/ggallup", force = TRUE)
require(ggallup)
```See the [vignette](https://github.com/BillPetti/ggallup/blob/master/vignette/ggallupVignette.md) for some usage examples