clstats | R Documentation |
Retrieve basic statistics from the COLOURlovers API.
clstats(type, fmt = "xml")
type |
An API type. One of “colors”, “palettes”, “patterns”, or “lovers”. |
fmt |
A format for the API response, one of “xml” (the default) or “json”. This has essentially no effect on function behavior. |
Retrieve total numbers of colors, palettes, patterns, or lovers.
A numeric value of class “clstats”. This should be the same
regardless of the value of fmt
.
Thomas J. Leeper
http://www.colourlovers.com/api/#stats
## Not run: clstats('colors') clstats('palettes') clstats('patterns') clstats('lovers') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.