Generates color palettes for PurpleAir synoptic data with the intention of having a reproducible functional color generator.
pas_palette(pas = NULL, paletteName = "AQI", parameter = "pm25_1hr", ...)
Enhanced data frame of PurpleAir synoptic data.
A predefined color palette name. Can be of the following:
"AQI"
"humidity
"temperature
"distance"
Value to generate colors for, e.g. pm25_1hr
.
Additional arguments passed on to leaflet::color~
functions.
An object that consists of a label and color dataframe, and calculated color values from PurpleAir sensors