quickTextHTML | R Documentation |
Workhorse function that automatically applies routine text formatting to
common pollutant names which may be used in the HTML widgets produced by
openairmaps
.
quickTextHTML(text)
text |
A character vector. |
quickTextHTML()
is routine formatting lookup table. It screens the supplied
character vector text
and automatically applies formatting to any
recognised character sub-series to properly render in HTML.
The function returns a character vector for HTML evaluation.
Jack Davison.
The original openair::quickText()
, useful for non-HTML/static maps
and plots
labs <- c("no2", "o3", "so2")
quickTextHTML(labs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.