format_html.codebook: Format Codebooks as HTML

View source: R/codebook-format-html.R

format_html.codebookR Documentation

Format Codebooks as HTML

Description

This is the method of format_html for "codebook" objects as created by the eponymous function (see codebook)

Usage

## S3 method for class '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.


memisc documentation built on March 31, 2023, 7:29 p.m.