quickTextHTML {openairmaps} | R Documentation |
Automatic text formatting for openairmaps
Description
Workhorse function that automatically applies routine text formatting to
common pollutant names which may be used in the HTML widgets produced by
openairmaps
.
Usage
quickTextHTML(text)
Arguments
text |
A character vector. |
Details
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.
Value
The function returns a character vector for HTML evaluation.
Author(s)
Jack Davison.
See Also
The original openair::quickText()
, useful for non-HTML/static maps
and plots
Examples
labs <- c("no2", "o3", "so2")
quickTextHTML(labs)
[Package openairmaps version 0.8.1 Index]