Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

format_html.codebook

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


memisc

Management of Survey Data and Presentation of Analysis Results

v0.99.27.3
GPL-2
Authors
Martin Elff (with contributions from Christopher N. Lawrence, Dave Atkins, Jason W. Morgan, Achim Zeileis)
Initial release
2020-11-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.