| 1 |
\name{format_html.codebook} |
| 2 |
\alias{format_html.codebook} |
| 3 |
\alias{codebook_format_stdstyle} |
| 4 |
\title{ |
| 5 |
Format Codebooks as HTML |
| 6 |
} |
| 7 |
\description{ |
| 8 |
This is the method of \code{\link{format_html}} for "codebook" objects as created |
| 9 |
by the eponymous function (see \code{\link{codebook}}) |
| 10 |
} |
| 11 |
\usage{ |
| 12 |
\method{format_html}{codebook}(x, |
| 13 |
toprule = 2, |
| 14 |
midrule = 1, |
| 15 |
indent = "3ex", |
| 16 |
style = codebook_format_stdstyle, |
| 17 |
var_tag = "code", |
| 18 |
varid_prefix = "", title_tag = "p",\dots) |
| 19 |
} |
| 20 |
\arguments{ |
| 21 |
\item{x}{a "codebook" object} |
| 22 |
\item{toprule}{a non-negative integer; thickness of the line (in pixels) at the top of each |
| 23 |
codebook entry} |
| 24 |
\item{midrule}{a non-negative integer; thickness of the line (in pixels) that separates the |
| 25 |
header of an codebook entry from its body} |
| 26 |
\item{indent}{character string; indentation (by padding) of the |
| 27 |
codebook entry contents} |
| 28 |
\item{style}{string containing the standard CSS styling of codebook table cells.} |
| 29 |
\item{var_tag}{character string; the HTML tag that contains the |
| 30 |
name of the variable} |
| 31 |
\item{varid_prefix}{character string; a prefix added to |
| 32 |
the anchor IDs of the code entry titles (to facilitate the |
| 33 |
creation of tables of contents etc.)} |
| 34 |
\item{title_tag}{character string; the HTML tag that contains |
| 35 |
the title of the codebook entry (the variable name and its description)} |
| 36 |
\item{\dots}{further arguments, ignored.}} |
| 37 |
\seealso{ |
| 38 |
See Also as \code{\link{format_html}}, \code{\link{show_html}}, \code{\link{write_html}}. |
| 39 |
} |
| 40 |
|