View source: R/codebook-format-html.R
format_html.codebook | R Documentation |
This is the method of format_html
for "codebook" objects as created
by the eponymous function (see codebook
)
## S3 method for class 'codebook'
format_html(x,
toprule = 2,
midrule = 1,
indent = "3ex",
style = codebook_format_stdstyle,
var_tag = "code",
varid_prefix = "", title_tag = "p",...)
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 |
indent |
character string; indentation (by padding) of the codebook entry contents |
style |
string containing the standard CSS styling of codebook table cells. |
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 as format_html
, show_html
, write_html
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.