Skip to content
R package for color themes inspired by national parks
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R add new palettes Oct 27, 2019
docs update to use pkgdown Oct 27, 2019
man update to use pkgdown Oct 27, 2019
.Rbuildignore update to use pkgdown Oct 27, 2019
.gitignore update readme with new palettes Oct 27, 2019
DESCRIPTION update to use pkgdown Oct 27, 2019
NAMESPACE initial push Oct 22, 2019
README.Rmd update readme with new palettes Oct 27, 2019
README.md update readme with new palettes Oct 27, 2019
_pkgdown.yml update to use pkgdown Oct 27, 2019
nationalparkcolors.Rproj initial push Oct 22, 2019

README.md

nationalparkcolors

The goal of nationalparkcolors is to provide an interface to the beautiful colors in National Park posters and images. The posters are a mix of the WPA originals and more modern remakes.

Installation

You can install the released version of nationalparkcolors from GitHub with:

# install.packages("devtools")
devtools::install_github("katiejolly/nationalparkcolors")

Example

There are 25 total palettes to choose from.

library(nationalparkcolors)

names(park_palettes)
#>  [1] "SmokyMountains" "RockyMountains" "Yellowstone"    "Arches"        
#>  [5] "ArcticGates"    "MtMckinley"     "GeneralGrant"   "Hawaii"        
#>  [9] "CraterLake"     "Saguaro"        "GrandTeton"     "BryceCanyon"   
#> [13] "MtRainier"      "Badlands"       "Redwoods"       "Everglades"    
#> [17] "Voyageurs"      "BlueRidgePkwy"  "Denali"         "GreatBasin"    
#> [21] "ChannelIslands" "Yosemite"       "Acadia"         "DeathValley"   
#> [25] "Zion"

You can create a palette in just one command (+ get an image of the palette).

pal <- park_palette("MtRainier")

If you want a specific number of colors, you can also do that.

pal <- park_palette("MtRainier", 4)

Palettes

Along with the nice color palettes, I also hope that people think more about the national park system when using this package. I am not affiliated with the Park Service, but if you’d like to support them you can donate here.

You can’t perform that action at this time.