Skip to content

Commit

Permalink
add MetBrewer palettes
Browse files Browse the repository at this point in the history
close #119
  • Loading branch information
EmilHvitfeldt committed Oct 17, 2022
1 parent df90297 commit 4859712
Show file tree
Hide file tree
Showing 11 changed files with 576 additions and 1 deletion.
6 changes: 6 additions & 0 deletions LICENSE.note
Original file line number Diff line number Diff line change
Expand Up @@ -420,3 +420,9 @@ By: Shandiya Balasubramaniam
License: MIT + file LICENSE
https://github.com/shandiya/feathers/blob/main/LICENSE.md

---

MetBrewer
By: Blake Robert Mills
License: Creative Commons Zero v1.0 Universal
https://github.com/BlakeRMills/MetBrewer/blob/main/LICENSE.md
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Added sky palette from khroma package.
* Added 31 Steven Universe palettes from tvthemes package.
* 11 palettes have been added from the feathers package. (#116)
* 56 palettes have been added from the MetBrewer package. (#119)
# paletteer 1.4.1

* Fixed documentation to be HTML5 friendly.
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ you need for a smooth transition of color:

![](man/figures/README-unnamed-chunk-4-1.png)<!-- -->

This package includes 2442 palettes from 63 different packages and
This package includes 2498 palettes from 64 different packages and
information about these can be found in the following data.frames:
`palettes_c_names`, `palettes_d_names` and `palettes_dynamic_names`.
Additionally this [github
Expand Down Expand Up @@ -163,6 +163,7 @@ paletteer_c("nord::frost")
| lisa | [tyluRp/lisa - 0.1.2.9000](https://github.com/tyluRp/lisa) | [0.1.2](https://CRAN.R-project.org/package=lisa) |
| Manu | [G-Thomson/Manu - 0.0.2](https://github.com/G-Thomson/Manu) | \- |
| MapPalettes | [disarm-platform/MapPalettes - 0.0.2](https://github.com/disarm-platform/MapPalettes) | \- |
| MetBrewer | [BlakeRMills/MetBrewer - 0.2.0](https://github.com/BlakeRMills/MetBrewer) | [0.2.0](https://CRAN.R-project.org/package=MetBrewer) |
| miscpalettes | [EmilHvitfeldt/miscpalettes - 0.0.0.9000](https://github.com/EmilHvitfeldt/miscpalettes) | \- |
| nationalparkcolors | [katiejolly/nationalparkcolors - 0.1.0](https://github.com/katiejolly/nationalparkcolors) | \- |
| nbapalettes | [murrayjw/nbapalettes - 0.1.0.9000](https://github.com/murrayjw/nbapalettes) | [0.1.0](https://CRAN.R-project.org/package=nbapalettes) |
Expand Down
1 change: 1 addition & 0 deletions data-raw/packages.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ paletteer_packages <- tibble::tribble(
"khroma", "tesselle/khroma", "1.9.0.9000", TRUE, "1.9.0",
"LaCroixColoR", "johannesbjork/LaCroixColoR", "0.1.0", FALSE, NA,
"lisa", "tyluRp/lisa", "0.1.2.9000", TRUE, "0.1.2",
"MetBrewer", "BlakeRMills/MetBrewer", "0.2.0", TRUE, "0.2.0",
"Manu", "G-Thomson/Manu", "0.0.2", FALSE, NA,
"MapPalettes", "disarm-platform/MapPalettes", "0.0.2", FALSE, NA,
"miscpalettes", "EmilHvitfeldt/miscpalettes", "0.0.0.9000", FALSE, NA,
Expand Down
4 changes: 4 additions & 0 deletions data-raw/palettes_d.R
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ Manu_pals <- Manu::manu_palettes
MapPalettes_pals <- lapply(MapPalettes:::names, MapPalettes::map_palette)
names(MapPalettes_pals) <- MapPalettes:::names

## MetBrewer ---------------------------------------------------------------
MetBrewer_pals <- lapply(MetBrewer::MetPalettes, function(x) x[[1]])

## miscpalettes ---------------------------------------------------------------
miscpalettes_pals <- c(
miscpalettes::artistic,
Expand Down Expand Up @@ -470,6 +473,7 @@ palettes_d <- list(
Polychrome = Polychrome_pals,
Manu = Manu_pals,
MapPalettes = MapPalettes_pals,
MetBrewer = MetBrewer_pals,
miscpalettes = miscpalettes_pals,
palettesForR = palettesForR_pals,
PNWColors = PNWColors_pals,
Expand Down
56 changes: 56 additions & 0 deletions data-raw/palettes_d_names.R
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,62 @@ palettes_d_names <- tibble::tribble(
"lisa", "FrancescoXanto", 5L, "qualitative", TRUE,
"lisa", "JackYoungerman", 5L, "qualitative", TRUE,
"lisa", "KarlZerbe", 5L, "qualitative", TRUE,
"MetBrewer", "Archambault", 7L, "qualitative", TRUE,
"MetBrewer", "Austria", 7L, "qualitative", TRUE,
"MetBrewer", "Benedictus", 13L, "qualitative", TRUE,
"MetBrewer", "Cassatt1", 8L, "qualitative", TRUE,
"MetBrewer", "Cassatt2", 10L, "qualitative", TRUE,
"MetBrewer", "Cross", 9L, "qualitative", TRUE,
"MetBrewer", "Degas", 7L, "qualitative", TRUE,
"MetBrewer", "Demuth", 10L, "qualitative", TRUE,
"MetBrewer", "Derain", 7L, "qualitative", TRUE,
"MetBrewer", "Egypt", 4L, "qualitative", TRUE,
"MetBrewer", "Gauguin", 6L, "qualitative", TRUE,
"MetBrewer", "Greek", 5L, "qualitative", TRUE,
"MetBrewer", "Hiroshige", 10L, "qualitative", TRUE,
"MetBrewer", "Hokusai1", 7L, "qualitative", TRUE,
"MetBrewer", "Hokusai2", 6L, "qualitative", TRUE,
"MetBrewer", "Hokusai3", 6L, "qualitative", TRUE,
"MetBrewer", "Homer1", 8L, "qualitative", TRUE,
"MetBrewer", "Homer2", 6L, "qualitative", TRUE,
"MetBrewer", "Ingres", 8L, "qualitative", TRUE,
"MetBrewer", "Isfahan1", 8L, "qualitative", TRUE,
"MetBrewer", "Isfahan2", 5L, "qualitative", TRUE,
"MetBrewer", "Java", 5L, "qualitative", TRUE,
"MetBrewer", "Johnson", 5L, "qualitative", TRUE,
"MetBrewer", "Juarez", 6L, "qualitative", TRUE,
"MetBrewer", "Kandinsky", 4L, "qualitative", TRUE,
"MetBrewer", "Klimt", 6L, "qualitative", TRUE,
"MetBrewer", "Lakota", 6L, "qualitative", TRUE,
"MetBrewer", "Manet", 11L, "qualitative", TRUE,
"MetBrewer", "Monet", 9L, "qualitative", TRUE,
"MetBrewer", "Moreau", 7L, "qualitative", TRUE,
"MetBrewer", "Morgenstern", 8L, "qualitative", TRUE,
"MetBrewer", "Nattier", 7L, "qualitative", TRUE,
"MetBrewer", "Navajo", 5L, "qualitative", TRUE,
"MetBrewer", "NewKingdom", 5L, "qualitative", TRUE,
"MetBrewer", "Nizami", 8L, "qualitative", TRUE,
"MetBrewer", "OKeeffe1", 11L, "qualitative", TRUE,
"MetBrewer", "OKeeffe2", 7L, "qualitative", TRUE,
"MetBrewer", "Paquin", 11L, "qualitative", TRUE,
"MetBrewer", "Peru1", 6L, "qualitative", TRUE,
"MetBrewer", "Peru2", 6L, "qualitative", TRUE,
"MetBrewer", "Pillement", 6L, "qualitative", TRUE,
"MetBrewer", "Pissaro", 7L, "qualitative", TRUE,
"MetBrewer", "Redon", 12L, "qualitative", TRUE,
"MetBrewer", "Renoir", 12L, "qualitative", TRUE,
"MetBrewer", "Signac", 14L, "qualitative", TRUE,
"MetBrewer", "Tam", 8L, "qualitative", TRUE,
"MetBrewer", "Tara", 5L, "qualitative", TRUE,
"MetBrewer", "Thomas", 8L, "qualitative", TRUE,
"MetBrewer", "Tiepolo", 8L, "qualitative", TRUE,
"MetBrewer", "Troy", 8L, "qualitative", TRUE,
"MetBrewer", "Tsimshian", 7L, "qualitative", TRUE,
"MetBrewer", "VanGogh1", 7L, "qualitative", TRUE,
"MetBrewer", "VanGogh2", 8L, "qualitative", TRUE,
"MetBrewer", "VanGogh3", 8L, "qualitative", TRUE,
"MetBrewer", "Veronese", 7L, "qualitative", TRUE,
"MetBrewer", "Wissing", 5L, "qualitative", TRUE,
"nationalparkcolors", "SmokyMountains", 6L, "qualitative", TRUE,
"nationalparkcolors", "RockyMountains", 5L, "qualitative", TRUE,
"nationalparkcolors", "Yellowstone", 6L, "qualitative", TRUE,
Expand Down
Binary file modified data/paletteer_packages.rda
Binary file not shown.
Binary file modified data/palettes_d.rda
Binary file not shown.
Binary file modified data/palettes_d_names.rda
Binary file not shown.
Loading

0 comments on commit 4859712

Please sign in to comment.