R/cartocolors.R

#' CARTOColors database
#'
#' A dataset containing the information about the CARTOcolor palettes.
#' Source: https://github.com/CartoDB/CartoColor/blob/master/cartocolor.js.
#'
#' @format A data frame with 32 rows and 12 variables:
#' * Name: palette name
#' * Type: palette type
#' * n2 to n11: list of the color values depending on the number of colors used (between two and twelve)
"cartocolors"

Try the rcartocolor package in your browser

Any scripts or data that you put into this service are public.

rcartocolor documentation built on May 31, 2023, 9:16 p.m.