Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
3 of 35 committers (8.6%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.7%) to scientific vocabulary
Keywords
data-visualisation
ggplot2
ggplot2-themes
plot
plotting
theme
visualization
Keywords from Contributors
visualisation
package-creation
data-manipulation
grammar
tidy-data
curl
pandoc
rmarkdown
epub
literate-programming
Last synced: 6 months ago
·
JSON representation
Repository
Additional themes, scales, and geoms for ggplot2
Basic Info
- Host: GitHub
- Owner: jrnold
- Language: R
- Default Branch: main
- Homepage: http://jrnold.github.io/ggthemes/
- Size: 56.1 MB
Statistics
- Stars: 1,337
- Watchers: 60
- Forks: 225
- Open Issues: 15
- Releases: 0
Topics
data-visualisation
ggplot2
ggplot2-themes
plot
plotting
theme
visualization
Created over 13 years ago
· Last pushed about 2 years ago
Metadata Files
Readme
Contributing
README.Rmd
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
```
[](https://github.com/jrnold/ggthemes/actions/workflows/R-CMD-check.yaml)
[](https://codecov.io/github/jrnold/ggthemes?branch=master)
[](https://github.com/metacran/cranlogs.app)
[](https://CRAN.R-project.org/package=ggthemes)
[](https://www.tidyverse.org/lifecycle/#stable)
Some extra geoms, scales, and themes for
[ggplot](https://ggplot2.tidyverse.org/).
## Install
To install the stable version from CRAN,
```r
install.packages('ggthemes', dependencies = TRUE)
```
Or, to install the development version from github, use the
**devtools** package,
```r
library("devtools")
install_github(c("hadley/ggplot2", "jrnold/ggthemes"))
```
## How to use
For a quick tutorial, check out [Rafael Irizarry's book](https://rafalab.github.io/dsbook/ggplot2.html#add-on-packages).
## Examples
```{r}
library("ggplot2")
library("ggthemes")
mtcars2 <- within(mtcars, {
vs <- factor(vs, labels = c("V-shaped", "Straight"))
am <- factor(am, labels = c("Automatic", "Manual"))
cyl <- factor(cyl)
gear <- factor(gear)
})
p1 <- ggplot(mtcars2) +
geom_point(aes(x = wt, y = mpg, colour = gear)) +
labs(
title = "Fuel economy declines as weight increases",
subtitle = "(1973-74)",
caption = "Data from the 1974 Motor Trend US magazine.",
x = "Weight (1000 lbs)",
y = "Fuel economy (mpg)",
colour = "Gears"
)
```
```{r,theme_calc}
p1 +
scale_color_calc() +
theme_calc()
```
```{r,theme_clean}
p1 + theme_clean()
```
```{r,theme_economist}
p1 + theme_economist() +
scale_colour_economist()
```
```{r,theme_excel}
p1 + theme_excel() +
scale_colour_excel()
```
```{r,theme_excel_new}
p1 + theme_excel_new() +
scale_colour_excel_new()
```
```{r,theme_igray}
p1 + theme_igray()
```
```{r,theme_par}
p1 + theme_par()
```
```{r,theme_fivethirtyeight}
p1 + theme_fivethirtyeight()
```
```{r,theme_few}
p1 + theme_few() +
scale_colour_few()
```
```{r,theme_solarized}
p1 + theme_solarized() +
scale_colour_solarized()
```
```{r,theme_solarized_dark}
p1 + theme_solarized(light=FALSE) +
scale_colour_solarized()
```
```{r,theme_solid}
p1 + theme_solid()
```
```{r,theme_stata}
p1 + theme_tufte()
```
```{r,theme_wsj}
p1 + theme_wsj(base_size = 8) + scale_color_wsj()
```
```{r,scale_colorblind}
p1 + scale_color_colorblind()
```
```{r,scale_color_tableau}
p1 + scale_color_tableau()
```
Owner
- Name: Jeffrey Arnold
- Login: jrnold
- Kind: user
- Location: Oakland, CA
- Website: https://jrnold.ai
- Repositories: 245
- Profile: https://github.com/jrnold
Data scientist / MLE. Ex @instacart. Data science | machine learning | causal inference | experimentation
GitHub Events
Total
- Watch event: 26
- Pull request event: 1
- Fork event: 5
Last Year
- Watch event: 26
- Pull request event: 1
- Fork event: 5
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| jrnold | j****d@g****m | 587 |
| Jeff Arnold | j****d@l****m | 16 |
| Gergely Daróczi | d****g@r****t | 13 |
| Jeffrey Arnold | j****d@i****m | 11 |
| Josh London | j****n@n****v | 9 |
| hadley | h****m@g****m | 4 |
| Joel Carlson | j****l@g****m | 3 |
| Joshua | j****t@g****m | 3 |
| Peter Haschke | p****e@g****m | 3 |
| Philipp A | f****p@w****e | 3 |
| Brian Weitzner | b****r@g****m | 2 |
| Kaylee L. Davis | M****s@g****m | 2 |
| Marius Mather | m****r@g****m | 2 |
| Ryan Chitwood | 1****d@g****m | 1 |
| Matt Leonawicz | m****z@e****m | 1 |
| Jeffrey Arnold | j****d@t****k | 1 |
| Ilaria Prosdocimi | i****o@c****k | 1 |
| ethompson5119 | 5****n | 1 |
| Vadim Bondarenko | v****2@g****m | 1 |
| Teun van den Brand | 4****d | 1 |
| Sergiusz | s****a@t****m | 1 |
| Sandy Muspratt | S****t | 1 |
| Michael Chirico | m****4@g****m | 1 |
| Michael | m****n@s****u | 1 |
| Konrad Zdeb | k****b@m****m | 1 |
| Jason Daniel Augustine Gilliland | j****d@g****m | 1 |
| Jan Eglinger | j****r@g****m | 1 |
| Håkon Malmedal | h****l@g****m | 1 |
| Francesco Ceccon | f****o@c****e | 1 |
| Denny Biasiolli | d****i@g****m | 1 |
| and 5 more... | ||
Committer Domains (Top 20 + Academic)
rudis.net: 1
ceccon.me: 1
me.com: 1
sydney.edu.au: 1
timgroup.com: 1
ceh.ac.uk: 1
esource.com: 1
noaa.gov: 1
instacart.com: 1
rapporter.net: 1
launchdarkly.com: 1
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 85
- Total pull requests: 48
- Average time to close issues: 5 months
- Average time to close pull requests: 2 months
- Total issue authors: 67
- Total pull request authors: 24
- Average comments per issue: 2.08
- Average comments per pull request: 0.83
- Merged pull requests: 40
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- jrnold (14)
- espinielli (2)
- IndrajeetPatil (2)
- tjebo (2)
- luca-scr (2)
- AtomicNess123 (2)
- arnabarnabarnab (1)
- LeidenuniJM (1)
- adrgru (1)
- yhoogstrate (1)
- KJByron (1)
- kieranrcampbell (1)
- chriscesar (1)
- madsboending (1)
- flying-sheep (1)
Pull Request Authors
- jrnold (39)
- KayleeDavisGitHub (3)
- flying-sheep (3)
- bbolker (2)
- ellienakothompson (2)
- teunbrand (2)
- 11rchitwood (1)
- jmlondon (1)
- olivroy (1)
- juliasilge (1)
- leonawicz (1)
- mnel (1)
- SandyMuspratt (1)
- agosiewska (1)
- carlosespino11 (1)
Top Labels
Issue Labels
bug (2)
question (1)
enhancement (1)
Pull Request Labels
Packages
- Total packages: 3
-
Total downloads:
- cran 81,525 last-month
- Total docker downloads: 217,349
-
Total dependent packages: 130
(may contain duplicates) -
Total dependent repositories: 682
(may contain duplicates) - Total versions: 44
- Total maintainers: 1
cran.r-project.org: ggthemes
Extra Themes, Scales and Geoms for 'ggplot2'
- Homepage: https://jrnold.github.io/ggthemes/
- Documentation: http://cran.r-project.org/web/packages/ggthemes/ggthemes.pdf
- License: GPL-2
-
Latest release: 5.1.0
published about 2 years ago
Rankings
Stargazers count: 0.2%
Forks count: 0.2%
Dependent repos count: 0.5%
Dependent packages count: 0.8%
Downloads: 1.4%
Average: 3.7%
Docker downloads count: 19.3%
Maintainers (1)
Last synced:
6 months ago
proxy.golang.org: github.com/jrnold/ggthemes
- Documentation: https://pkg.go.dev/github.com/jrnold/ggthemes#section-documentation
-
Latest release: v5.1.0+incompatible
published about 2 years ago
Rankings
Dependent packages count: 5.5%
Average: 5.7%
Dependent repos count: 5.9%
Last synced:
6 months ago
conda-forge.org: r-ggthemes
- Homepage: http://github.com/jrnold/ggthemes
- License: GPL-2
-
Latest release: 4.2.4
published about 5 years ago
Rankings
Stargazers count: 11.4%
Forks count: 11.8%
Dependent repos count: 12.8%
Average: 12.9%
Dependent packages count: 15.6%
Last synced:
6 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.3.0 depends
- ggplot2 >= 3.0.0 imports
- graphics * imports
- grid * imports
- methods * imports
- purrr * imports
- scales * imports
- stringr * imports
- tibble * imports
- covr * suggests
- dplyr * suggests
- extrafont * suggests
- glue * suggests
- knitr * suggests
- lattice * suggests
- lintr * suggests
- mapproj * suggests
- maps * suggests
- pander * suggests
- rlang * suggests
- rmarkdown * suggests
- spelling * suggests
- testthat * suggests
- tidyr * suggests
- vdiffr * suggests
- withr * suggests
.github/workflows/R-CMD-check.yaml
actions
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite