Format Codebooks as HTML¶
Description¶
This is the method of format_html
for “codebook” objects as created by the eponymous
function (see codebook
)
Usage¶
## S4 method for signature 'codebook'
format_html(x,
toprule = 2, midrule = 1,
padding = 3,
var_tag = "code",
varid_prefix = "", title_tag = "p",...)
Arguments¶
x
-
a “codebook” object
toprule
-
a non-negative integer; thickness of the line (in pixels) at the top of each codebook entry
midrule
-
a non-negative integer; thickness of the line (in pixels) that separates the header of an codebook entry from its body
padding
-
a non-negative integer; left-hand padding in “ex” of the codebook entry contents
var_tag
-
character string; the HTML tag that contains the name of the variable
varid_prefix
-
character string; a prefix added to the anchor IDs of the code entry titles (to facilitate the creation of tables of contents etc.)
title_tag
-
character string; the HTML tag that contains the title of the codebook entry (the variable name and its description)
...
-
further arguments, ignored.
See also¶
See Also as format_html
, show_html
, write_html
.